A Movie Database API built with Django, Django REST framework, PostgreSQL and Docker
- docker
make start
make stop
make migrations
make migrate
make superuser
Exec:
docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/genres.csv --app_name=core --model_name=Genre
docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/movies.csv --app_name=core --model_name=Movie
docker-compose exec -w /code/app web python manage.py populate_db --path=/code/data/networks.csv --app_name=core --model_name=Network
make test