This design system is a project of Hack for LA. It helps teams customize and develop their websites and applications. This design system is meant to provide necessary web components and make them easy to customize.
-
Clone the repository:
git clone https://github.com/hackforla/internship-website-design-system.git cd internship-website-design-system
-
Start the development environment:
docker-compose up
This automatically:
- Installs all dependencies
- Compiles Sass files
- Starts Sass watcher for live CSS compilation
- Starts MkDocs server with live reload
- Sets up file watching for changes
-
Open your browser:
- Visit: http://localhost:8000
- Both Sass changes and documentation changes will auto-reload
-
Stop development:
# Press Ctrl+C in the terminal, or: docker-compose down
# Build and start fresh
docker-compose up --build
# Run in background
docker-compose up -d
# View logs
docker-compose logs -f
# Stop background process
docker-compose down
- Edit Sass files in
docs/components/sass/
- Changes auto-compile and browser auto-refreshes
- Edit documentation in
docs/*.md
files - Changes auto-reload in browser
If you need to run commands inside the container:
# Access container shell
docker-compose exec mkdocs sh
# Inside container, you can run:
npm run dev # Start only Sass watcher
npm run build-sass # Build Sass once
npm run clean # Clean compiled CSS
npm run build # Build for production
docs/
βββ components/sass/ # Source Sass files
β βββ main.scss # Main entry point
β βββ abstracts/ # Variables, mixins
β βββ components/ # Button, form components
β βββ layout/ # Grid, tabs
βββ dist/ # Compiled CSS (auto-generated)
β βββ main.css # Output CSS file
βββ *.md # Documentation pages
- Edit Sass files in
docs/components/sass/
- Changes auto-compile when Docker is running
- Browser auto-refreshes to show your changes
- Compiled CSS appears in
docs/dist/main.css
The Docker setup includes:
- Node.js & npm for Sass compilation
- Python & pip for MkDocs
- Live reload for both CSS and documentation
- Volume mounting for instant file changes
- Port forwarding (8000 for site, 35729 for live reload)
- MK Docs with Material theme
- SASS
- Docker & Docker Compose
- GitHub Pages for deployment
- How to Contribute
- This is a project of Hack for LA, please join here
- Join the team on Slack: #internship
Message the team on Slack: #internship
this readme file sourced from Jessica Sand