#Build docker container
docker-compose build
#Up docker, first db then api
docker-compose up db
docker-compose up api
#Run the migrations
docker-compose exec api python manage.py migrate
#Load initial data (base occurrence categories)
docker-compose exec api python manage.py loaddata initial
#Create first admin user
docker-compose exec api python manage.py initadmin
-
Notifications
You must be signed in to change notification settings - Fork 1
Occurrences Manager API (exercise about Django Rest Framework)
License
manuelseromenho/occurrences_manager_api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Occurrences Manager API (exercise about Django Rest Framework)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published