Python Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux Server

349764
778
5602
13.12.2018
Corey Schafer

Corey Schafer

77763094
993000
230
01.06.2006
US
Описание видео:

In this Python Django Tutorial, we will be learning how to deploy our application to a Linux Server from scratch using Linode. If you would like $20 of free credit towards a Linode account, then you can use my link here to sign up: 🤍linode.com/coreyschafer We will be covering the entire deployment of a Django application. This includes spinning up a new Linux Server and tightening its security with SSH keys and firewalls. Then we will install Apache and Mod_WSGI so that we can get our Django App running. Let's get started... To skip the server setup, jump to 29:11 How to Run Linux/Bash on Windows: 🤍youtu.be/xzgwDbe7foQ SSH Key-Based Authentication Tutorial: 🤍youtu.be/vpk_1gldOAE SSH Keys on Windows: 🤍🤍linode.com/docs/security/authentication/use-public-key-authentication-with-ssh/#windows Apache config used in this video: 🤍github.com/CoreyMSchafer/code_snippets/blob/master/Django_Blog/snippets/django_project.conf ✅ Support My Channel Through Patreon: 🤍🤍patreon.com/coreyms ✅ Become a Channel Member: 🤍🤍youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: 🤍goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist 🤍a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: 🤍🤍amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - 🤍coreyms.com/ My Second Channel - 🤍🤍youtube.com/c/coreymschafer Facebook - 🤍🤍facebook.com/CoreyMSchafer Twitter - 🤍twitter.com/CoreyMSchafer Instagram - 🤍🤍instagram.com/coreymschafer/ #Python #Django

Кадры из видео
Python Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux Server
Python Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux Server
Python Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux Server
Python Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux Server
Тэги из видео
Комментарии пользователей:
Abdullahi Khaliif
2022-09-12 11:07:47

This is a great tutorial, thank COREY i'm realy appreate you tutorials django and flask, with that said I have small quation ): can we use custom error log files instead of testing server for debug like you did on flask series?

Zea
2022-09-07 10:14:13

How can I copy it to remote cmd if I use local cmd Window not using MacOS, anybody knows??????

Stephan
2022-09-06 00:50:52

For anyone using A2 hosting:

You'll need to specify the port after the scp command.

Like this 'scp -P 7822' followed by the rest of the command

Sam Ha
2022-08-30 18:50:14

anyone get apache2 permission issues on port 80?

FreeDom Sy
2022-06-24 18:17:39

Thank you so much.
Sad that you disappeared

Stephen Jimenez
2022-06-14 20:48:51

Thanks for this! This is easily the most detailed and best explained Django deployment video I've seen.

tree digital
2022-06-13 13:09:24

how to Deploying my project as local server not connect to the internet
( i mean the project is belong to the company only help me plz)

Ahoussi Mea
2022-06-02 08:26:21

im getting 403 error

Furkan E
2022-06-01 16:32:21

I'm getting a 403 forbidden error. "You don't have permission to access this resource."

does anyone know why?

.

Mohamed Samir
2022-05-29 12:27:10

Thank you so much

Sid
2022-05-21 09:06:50

Hi Corey,

Thanks for this video.
I have followed your tutorial and deployed the app successfully but the only issue I am facing is during password reset. I am not getting an email to reset my password. After the app is deployed and now when I am accessing the website from my server IP (Linode) directly, everything is working fine except the password reset, not receiving an email.
But when I try the same thing from live server as we earlier used to access our web page using command "python manage.py/ manage.py runserver", I am receiving an email to reset my password. I have cross checked the Email settings , all are exactly same , yet i am unable to find the root cause for this, kindly assist.

Thanks in advance.

S Poorna Sai Teja
2022-05-03 16:57:11

Sa_kQheCnds&t=40m18s 40:18

Carl Franz
2022-04-18 20:21:20

Anyone have any idea the difference between STATIC_BASE and STATIC_ROOT? when I tried to do:
python manage.py/ manage.py collectstatic

it complained about STATIC_ROOT not being set. We didn't do that in the development version, did we?

Carl Franz
2022-04-18 01:30:26

interesting.... 'crispy_forms' does not have an arm64/arm8l version. That's not helpful. <sigh>

[edit] I was mistaken... apparently the following works:
sudo apt-get install python3-django-crispy-forms

[edit2] Never mind. Apparently it's problematic to convince it to install into a virtual environment.... We shall persevere!
[edit3] I just copied the darn directories from /usr/lib/python3/dist-packages

Umesh Dangi
2022-03-24 10:29:05

thank you corey ... such a great information.... its free ... thank you

Yashar Xaspoladov
2022-03-22 18:46:46

Is there a way to make all of this somehow easier? The stuff happening with apache was just way too complicated. Do you still have to do all that if ure using docker? or maybe nginx instead of django?

Yashar Xaspoladov
2022-03-22 12:59:15

I come this far in the tutorial and linode cancels my registration for no reason. wtf

Leñiedor
2022-03-13 12:25:27

Why using as group the apache and not also setting the user to the apaches?

jonl316
2022-02-22 00:31:07

Thanks so much for this tutorial. It helped me so much.

Что ищут прямо сейчас
Hoenn ТОЛЬКО НУБ ВЫИГРАЕТ БЕЗ СУНДУКОВ Lugagnano Val d'Arda 味道 surviving 24 jobs in 24 hours пік skillbox обман CARV.2 warzone livemusic elysees compras paraguai king cid boxing MUSIC app name changer Iranian Music Video's wizkhalifa handwerk eksw Максим Солдаткин
Похожие видео
16.01.2019
Python Django Tutorial: How to Use a Custom Domain Name for Our Application

Python Django Tutorial: How to Use a Custom Domain Name for Our Application

10.10.2020
Django | Server Setup (WSGI, Gunicorn, Nginx)

Django | Server Setup (WSGI, Gunicorn, Nginx)

01.10.2020
Deploy Django - AWS Lightsail + SFTP + SSH Remote Connection

Deploy Django - AWS Lightsail + SFTP + SSH Remote Connection

18.02.2019
Python Django Tutorial: Deploying Your Application (Option #2) - Deploy using Heroku

Python Django Tutorial: Deploying Your Application (Option #2) - Deploy using Heroku

13.04.2020
Introduction to Programming and Computer Science - Full Course

Introduction to Programming and Computer Science - Full Course

21.10.2020
How to Deploy Django on Nginx with uWSGI (full tutorial)

How to Deploy Django on Nginx with uWSGI (full tutorial)

27.09.2021
Python Django 7 Hour Course

Python Django 7 Hour Course

21.02.2018
How to Run Linux/Bash on Windows 10 Using the Built-In Windows Subsystem for Linux

How to Run Linux/Bash on Windows 10 Using the Built-In Windows Subsystem for Linux

14.02.2020
How I Sold My Python/Django Website for $41,000

How I Sold My Python/Django Website for $41,000

04.05.2019
Hosting Django Website On Ubuntu VPS | Python Django Tutorials In Hindi #70

Hosting Django Website On Ubuntu VPS | Python Django Tutorials In Hindi #70

18.10.2021
Python Django Career Opportunities & Learning Roadmap  - Talk with Sumit Episode 16

Python Django Career Opportunities & Learning Roadmap - Talk with Sumit Episode 16

28.05.2020
Django in Production with Apache Web Server (includes info about nginx, mod_wsgi, wsgi pre-loading)

Django in Production with Apache Web Server (includes info about nginx, mod_wsgi, wsgi pre-loading)

01.07.2019
How To Setup Django Applications with Apache and mod_wsgi on Ubuntu

How To Setup Django Applications with Apache and mod_wsgi on Ubuntu

27.06.2021
Python Django Tutorial for Beginners

Python Django Tutorial for Beginners

08.03.2016
Programming Terms: Closures - How to Use Them and Why They Are Useful

Programming Terms: Closures - How to Use Them and Why They Are Useful