tag: production

How to create a fullstack application using Django and Python Part 31
Maria D. Campbell
In this section, I modify settings in django_boards/settings.py for deployment on Heroku. I create a new SECRET_KEY for use on Heroku, add gunicorn, dj-database-url, psycopg2 and psycopg2-binary packages. I create a requirements.txt file, a Procfile, a .python-version file, and discuss the purpose of the os module. I set DEBUG to false on Heroku, configure database access, run the collectstatic command for serving static files in production, and install and configure whitenoise.
#fullstack development, #macOS, #heroku, #deployment, #django, #python3, #database configuration, #development, #gunicorn, #heroku postgres, #procfile, #production, #static files, #whitenoise, #series