DEV Community

Cover image for Day 6 of #100DaysOfCode: Deploy Django application to Heroku and migrate PostgreSQL
Jen-Hsuan Hsieh
Jen-Hsuan Hsieh

Posted on

Day 6 of #100DaysOfCode: Deploy Django application to Heroku and migrate PostgreSQL

Introduction

The disadvantage for free user is that the application sleeps ever 30 minutes. However, it’s good enough for us to learn or build the prototype.

I usually deploy applications on Heroku when I learn languages for building server like Flask or Django.

Details

Please refer to my article. The article is the note for deploying Django application with PostgreSQL. It includes following topics.

  1. Create a PostgreSQL instance on Heroku
  2. Create Procfile in the application
  3. Modify settings.py in the application
  4. Migrate the database from Heroku cli
  5. Seed data to the remote database from Heroku cli
  6. Create a administrator for Django admin from Heroku cli

https://medium.com/a-layman/deploy-django-application-to-heroku-and-migrate-postgresql-36615b5f19cc

Articles

There are some of my articles. Feel free to check if you like!

Top comments (0)