Build a Django App on DigitalOcean

Поділитися
Вставка
  • Опубліковано 17 тра 2020
  • Learn how to deploy a production Django app on a DigitalOcean Droplet using Virtual Private Clouds, DNS, and Managed databases. This tutorial will deploy a Django app to a Droplet that connects to a managed Postgres database. We will use Nginx and Certbot to secure this server and setup system services and unicorn to deploy this application.
    Links:
    Django Tutorial - docs.djangoproject.com/en/3.0...
    Completed Polls App (in the django-getting-started directory) - github.com/Zelgius/live-stream
    How To Setup Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04 - www.digitalocean.com/communit...
    How To Secure Nginx with Let's Encrypt on Ubuntu 18.04 - www.digitalocean.com/communit...
    To learn more about DigitalOcean: www.digitalocean.com/
    Follow us on Twitter: / digitalocean
    Like us on Facebook: / digitalocean
    Follow us on Instagram: / thedigitalocean
    We're hiring: grnh.se/aicoph1
    #digitalocean #django #droplet
  • Наука та технологія

КОМЕНТАРІ • 20

  • @lemoncurdfizz
    @lemoncurdfizz 3 роки тому +1

    Awesome Tutorial, Love the way as he explain each details. Thank You.

  • @josephjeanclaude123
    @josephjeanclaude123 3 роки тому

    Thanks a lot, very good.It's working well.

  • @erinling8908
    @erinling8908 2 роки тому +1

    Thanks alot for the video! I was wondering: I am creating a web app to host and it's an app with 20 fixed chat rooms, each room constantly having 5 students (so 100 users total) where members of the group can discuss the group project through chat in their respective room. What do you think the pricing for something like this be? I know it's hard to gauge with so little description, but anything will do. I want to know what I'm getting myself into, as a student a 200$ bill for example is a no-go.

  • @junkmunkeys
    @junkmunkeys 3 роки тому +2

    Help! Can i just use git like I normally would for version control? What if I want to git pull? Should I just makemigrations like normal? I don't want to code on the droplet server.

  • @gersondavidvizquelaleman3233

    Thank you for the tutorial it is really very good. Along the way I have encountered the problem that I cannot connect to the database, do you know why? thank you

  • @knows1com
    @knows1com 4 роки тому +1

    Thank you

  • @ahmedyamany1160
    @ahmedyamany1160 2 роки тому

    thanks for this awesome video
    i deployed a website with postgresql and always get ssl connection has been lost unexpectedly ,
    i've searched alot but didn't get anything , i wish anyone could help me

  • @dhairya-varshney
    @dhairya-varshney 2 роки тому

    The web app was not working with my domain name, in such a case I open the domain in another browser, it worked!

  • @anuroop345
    @anuroop345 4 роки тому

    Running migrate first time everything worked. After applying some changes to models, when i ran migrate, it executed without errors, but none of the migrations were applied to database tables. Can you help me out on this?

    • @masonegger6503
      @masonegger6503 4 роки тому +1

      When you change the models you need to run a python manage.py makemigrations to create the migration before you run python manage.py migrate

  • @enmanuelvarelapividori7295
    @enmanuelvarelapividori7295 3 роки тому +1

    Hi, I have this problem "curl: (56) Recv failure: Connection reset by peer" after "curl --unix-socket /run/gunicorn.sock localhost
    "
    Why is this? How can I solve it?

    • @sahiljmi2349
      @sahiljmi2349 2 роки тому

      Hey Enmanuel, I'm having the same error. How did you fix this problem if you did? Could you please help me?

  • @dwightledet5857
    @dwightledet5857 3 роки тому +1

    Nope. This did not work at all. SyntaxError on manage.py?

  • @ibrahimoglu
    @ibrahimoglu 2 роки тому

    👍

  • @Chiny_w_Pigulce
    @Chiny_w_Pigulce 3 роки тому +1

    16:40 you forgot about a comma in password

  • @msvmanikantasrivishnu7788
    @msvmanikantasrivishnu7788 4 роки тому +1

    Thank you