Run testproj in a Heroku demo app (#38)

* Add Heroku configuration
* Add links in API description
* Read database connection string from DATABASE_URL environment variable
* Restructure settings files for production
* Run server using gunicorn and servce static files with whitenoise
* Install drf-yasg from source instead of pypi in testproj
* Add readme links to demo app
This commit is contained in:
Cristi Vîjdea
2018-01-10 10:18:22 +01:00
committed by GitHub
parent 6b38a3b6c1
commit c4379dc6a7
26 changed files with 188 additions and 50 deletions
+2
View File
@@ -0,0 +1,2 @@
release: python testproj/manage.py migrate && python testproj/manage.py shell -c "import createsuperuser"
web: gunicorn --chdir testproj testproj.wsgi --log-file -