Basic integraiton for Django and DB.
Tech Stack :
Python 3
Django
Django Rest
Docker
Docker-compose
PostgreSQL
Swagger
START APPLICAITON ON LOCAL MACHINE
>docker-compose up --build
> docker-compose run app sh -c "python manage.py test && flake8"
create an account on heroku and create a application
heroku auth:token
travis encrypt {heroku tokem} --add deploy.api_key --pro heroku
heroku config:set DISABLE_COLLECTSTATIC=1 --app restapis-django-basics
heroku run python manage.py createsuperuser --app restapis-django-basics