Studypunch is a project for students to help them solve their deadlines.
- Download it
git clone https://github.com/DebDoDab/studypunch.git
- Go into that directory
cd studypunch
- (Optional) write app/studypunch/settings/prod.py
- copy file from exaple and edit it (especially SECRET_KEY and ALLOWED_HOSTS)
cp app/studypunch/settings/prod_example.py app/studypunch/settings/prod.py vim app/studypunch/settings/prod.py
- copy file from exaple and edit it (especially SECRET_KEY and ALLOWED_HOSTS)
- Run docker-container
- in development
docker-container build docker-container run
- or in production
docker-container -f prod.yml build docker-container -f prod.yml run
- in development
- Make migrations
docker-compose run python bash python3 manage.py makemigrations python3 manage.py migrate
- Serve statics
- Put frontend in this docker compose
- Put nginx in this docker compose to serve statics and frontend
- Write unit and integration tests
- Add celery with RabbitMQ