How to deploy a Django project with DigitalOcean

How to deploy a Django project with DigitalOcean

In this tutorial, we show how you can take your Django project live with a server on DigitalOcean.

☝ Get exclusive courses & become a better Django developer

💻 Project code:

💰 $100 of DigitalOcean credit:

Link to the DigitalOcean deployment tutorial:

✌️ Stay in touch

Email: [email protected]

Thank you for watching and don’t forget to subscribe 🙂

22 thoughts on “How to deploy a Django project with DigitalOcean

  1. it works very well, thank you for everything, instead ip address I putted on my own domain, there's no information in Spanish but it helped me very much, Thank U from Bolivia

  2. perfect tutorial, just one question, how i can put my domain in the allowed host?, like, i need to do something first to give the access dns ?, thank you

  3. Hello and thank you, I could deploy my django app on digital ocean, one question, how can I deploy two or more django apps in the same doplet?

  4. Hi, I follow this tutorial. I deployed my app ok. When I use python runserver, it works fine, I can go to /admin. However, when using nginx, it breaks, I receive server error 500 on every routes. What should I do?

  5. Thanks for this great video. I have a question on 9:11, what if in my requirements.txt already have psycopg2 (but not psycopg2-binary), do I have to install "pip install django gunicorn psycopg2-binary" or "pip install django gunicorn psycopg2" ?

  6. Hi, I just followed your video till 10.23 min. I initialized git, added remote repo. But when I tried to pull origin master, it gives me warning : warning: Pulling without specifying how to reconcile divergent branches is

    discouraged. You can squelch this message by running one of the following

    commands sometime before your next pull:

    git config pull.rebase false # merge (the default strategy)

    git config pull.rebase true # rebase

    git config pull.ff only # fast-forward only

    You can replace "git config" with "git config –global" to set a default

    preference for all repositories. You can also pass –rebase, –no-rebase,

    or –ff-only on the command line to override the configured default per


    Username for '': 'my_usernaem'

    Password for 'https://[email protected]': 'my_password'

    fatal: couldn't find remote ref master

  7. I used the above referal link but it costs me $6.89 , but i get $100 credit. Isn't it supposed to be free??

  8. Thanks to you i was able to deploy my django app, i had some hard time getting my head around the static files & its path in the other than that it was super helpful and straight into the point. LIKE!

Leave a Reply

Your email address will not be published. Required fields are marked *