loading...
Cover image for Day 6 of #100DaysOfCode: Deploy Django application to Heroku and migrate PostgreSQL

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

jenhsuan profile image Jen-Hsuan Hsieh ・1 min read

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!

Posted on by:

jenhsuan profile

Jen-Hsuan Hsieh

@jenhsuan

6+ year work experience in the software engineering field. 2+ year work experience with front-end JavaScript framework like React.js, Knockout.js. and Microsoft solution.

Discussion

markdown guide