tag: deployment

How to create a fullstack application using Django and Python Part 32
Maria D. Campbell
In this section, I prepare my django-boards application for deployment to Render.
#code refactoring, #debugging, #deployment, #django, #environ, #fullstack development, #local environment, #macOS, #persistent disk, #production environment, #python-decouple, #python-dotenv, #python3, #python shell, #render, #scp, #series, #settings directory, #ssh, #transferring files

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, create a requirements.txt file, create a Procfile, create a .python-version file, discuss the purpose of the os module, set DEBUG to false on Heroku, differentiate between DEBUG value in local development and production 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 access, #database configuration, #development, #gunicorn, #heroku postgres, #procfile, #production, #static files, #whitenoise, #series