Deploying Django to a server – Django Web Development with Python p.12

In this tutorial, we’re going to focus on the deployment of a Django website.

Get started with $20 credit: https://linode.com/sentdex

Text-based tutorial and sample code: https://pythonprogramming.net/deploying-to-server-django-tutorial/

Channel membership: https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ/join
Discord: https://discord.gg/sentdex
Support the content: https://pythonprogramming.net/support-donate/
Twitter: https://twitter.com/sentdex
Facebook: https://www.facebook.com/pythonprogramming.net/
Twitch: https://www.twitch.tv/sentdex
G+: https://plus.google.com/+sentdex

#django #web-development #python #deployment

34 comments

  1. Duke Skookum on

    Very true what you said about Heroku. Scaling and management becomes a pain very quickly. But also, I guess most viewers learning Django for the firt time just wan’t their toy app deployed somewhere, and for that the easiest options I found were Heroku and Nanobox. App Engine was a very smooth experience as well.

    Reply
  2. Son_Of_Diablo on

    I would love to see coverage on how to update and app in production. If it’s at all different that doing so in a test environment as you have shown in earlier videos.

    Reply
  3. Ondřej Kulatý on

    I think that these days, Docker is a much better alternative to deploy a Django app (together with Swarm/Kubernetes/AWS).

    Reply
  4. Arvie San on

    Wow! It only took you less than 30mins to do it. I took at least a week to understand everything the first time I set up a VPS and now I think I already forgot how to do it.

    Reply
  5. Amon Karanja on

    How do you deploy an automated program (like selenium python program/data scraping program executed automatically by a time based crontab python program) to a sever?

    Reply
  6. Aman Raj on

    Awesome!! But what happens to ‘/admin ‘ url. If anyone goes to ‘www. mysite. com/admin’ will it redirect to django admin page??

    Reply
  7. Sam ha on

    Great work as always. i run into a little problem here . I have implemented the JWT Token with my django project. Where should I add the ” WSGIPassAuthorization On ” I tried to add it on mysite.conf but didn’t work. Thanks

    Reply
  8. Desale Fentaw on

    hello,
    I have been watching the tutorials on pythonprogramming.net, and I love the way you describe things(so simple and easy to understand).
    if it is possible, can you just tell me how can get django hosting server for Ethiopians, since I can not pay online. there is no online payment system here in Ethiopia.

    Reply
  9. Wojciech Kulikowski on

    Hi! I tried out the linode promocode, but was charged $20 anyway. There is a dark pattern during adding the credit card. I contacted the support and am currently waiting for their response as I don’t want to pay this amount as for now. @sentdex I love you videos but please consider informing your viewers about how to use the promocode. I feel a little bit fooled right now.

    Reply
  10. gomenaros on

    I know you have covered pretty much in your Q&A series and other vids, but I would really love to see some tutorial series on Online Enterpreneurship from you, Harrison. Is it something you would be interested in?

    Reply
  11. Brianna P on

    I love your channel!! I know a little bit of python, but not enough to be a guru. I was wondering if you’d be able to shine some more light on algo trading with python? Like what steps one needs to take in order to complete a project from start to finish and be able to run it on a broker platform. I know quantopian is a good place to back-test. I’m working with a friend who understands some python for finance. I’m more the ideas and strategies person lol

    Reply
  12. kosmic dust on

    on a side note do you know what happeend to bucky form thenewboston he disappeared without even acknolowging or making a goodbye video and lots of fans r worried about him including me

    Reply
  13. Oratile Khutsoane on

    i was looking forward to seeing how you manage your file uploads particularly images that we see on the front page…but you skipped that part, i am very disappointed

    Reply
  14. TheRaprulez on

    Hello, After I set the 000-default.conf atminute 17:39 as you did I get on my server 500 Internal Server Error.
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Apache/2.4.25 (Debian) Server at Port 80

    What could bethe reason of that?

    Reply
  15. Aizaz Hussain on

    Your Tutorials helped me alot learning django and web development . Sentdex is best in world
    Where did you get those fancy looking mugs? Could you gift me one? 😛

    Reply

Leave a Reply

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

Show Buttons
Hide Buttons