tag: database configuration

  • 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, 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

  • Changing Your (Homebrew) postgreSQL Configuration from trust to md5

    Changing Your (Homebrew) postgreSQL Configuration from trust to md5

    Maria D. campbell

    How to change your (Homebrew) postgreSQL configuration from trust to md5.

    #backend development, #command line, #database configuration, #homebrew, #md5, #osx, #root user, #terminal, #trust, #user authentication