Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

sunnyside-mutual-aid/Sunnyside-Mutual-Aid

Repository files navigation

Sunnyside-Mutual-Aid

This is the repo for the Sunnyside Mutual Aid Website.

Technology used

Production

===========================================================================

  1. Web: Django
  1. WSGI: Gunicorn

  2. DB: PostgreSQL

  1. Web Server: nginx

  2. Certificate renewal: certbot

  3. Containerization: Docker and Docker Compose

  1. Front-end: Bootstrap, Font-Awesome

Development

=========================================================================== The development environment is slimmed down to 2 containers:

  1. Web
  2. DB

It uses Django's manage.py for WSGI, and runs on localhost:8000

Spinning up your own development environment

===========================================================================

  1. Clone/Download this repo.
  2. Install Docker and Docker Compose.
  3. Run docker-compose up -d --build
  4. Go to localhost:8000 in your web browser.

That's it! All the HTML pages are in project/website/templates/ directory. To add new pages, please add them here and update urls.py. Static content goes in the project/static/ directory, and is collected when you run

  • docker-compose up -d --build or
  • docker-compose exec web python manage.py collectstatic --no-input

About

This is the repo for the Sunnyside Mutual Aid Website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •