- Need better name
- Add MakeFile
- Add API and DB documentation
- Create Backend
- Create Frontend
- Install Docker
- Clone repo
make migration m='migration message'
make up
make migrate
make load_talks
make superuser username=myuser password=insecure
Makefile for managing web application
Usage:
make build build images
make up creates containers and starts service
make start starts service containers
make stop stops service containers
make down stops service and removes containers
make migrate run migrations
make migrate_back run reverse migrations
make test run tests
make test_cov run tests with coverage.py
make test_fast run tests without migrations
make lint run flake8 linter
make attach attach to process inside service
make logs see container logs
make shell connect to app container in new bash shell
make dbshell connect to postgres inside db container
make load_talks Load Talk data into Talks table from data/talks_db_dump.csv
make superuser username=myuser password=insecure
Create a docker-compose.override.yml
as follows:
# docker-compose.override.yml
version: '3.4'
services:
app:
ports:
- 8001:8000