Skip to content

hackforla/internship-website-design-system

Internship Design System

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.

πŸš€ Quick Start

Start Development (Docker)

  1. Clone the repository:

    git clone https://github.com/hackforla/internship-website-design-system.git
    cd internship-website-design-system
  2. 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
  3. Open your browser:

  4. Stop development:

    # Press Ctrl+C in the terminal, or:
    docker-compose down

Alternative Docker Commands

# 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

πŸ› οΈ Development Workflow

  1. Edit Sass files in docs/components/sass/
  2. Changes auto-compile and browser auto-refreshes
  3. Edit documentation in docs/*.md files
  4. Changes auto-reload in browser

Internal Commands (Run Inside Container)

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

πŸ“ Project Structure

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

🎨 Working with Styles

  1. Edit Sass files in docs/components/sass/
  2. Changes auto-compile when Docker is running
  3. Browser auto-refreshes to show your changes
  4. Compiled CSS appears in docs/dist/main.css

🐳 Docker Setup Details

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)

Technology used

🀝 Contributing

πŸ”— Links

Wiki

Software Engineer Wiki

Contact info

Message the team on Slack: #internship

Licensing

GPL-2.0 license


this readme file sourced from Jessica Sand

About

Houses the design system for the Tech Work Experience (internship) website

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 10