tag: deployment

  • How to create a fullstack application using Django and Python Part 32

    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, #os.environ, #fullstack development, #local environment, #macOS, #persistent disk, #production environment, #python-decouple, #python-dotenv, #python3, #python3 shell, #render, #scp, #series, #settings directory, #ssh, #transferring files

  • How to create a fullstack application using Django and Python Part 31

    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