Deploying Django React App on a Linux VPS in 10 minutes

preview_player
Показать описание

In this video, we deploy a Django-React application on a Linux VPS server from scratch. We start by configuring a PostgreSQL database and downloading the project. We create a virtual environment and continue by installing and using uWSGI. We also use NGINX as a reverse proxy server that forwards the traffic to uWSGI. Finally, we also enable HTTPS.

This video shows that if you know what you are doing, deploying an application from scratch is quite easy. It gives you a lot of flexibility to customize and scale the application as needed along with a very good price-performance ratio. Compare this approach to countless modern services which can be convenient to use but often come with limitations and can become quite costly as your application grows.

Timestamps:

0:00 Introduction
1:04 Buying the server
2:02 Basic setup
2:52 Creating database
3:15 Setting up project
5:25 Configuring uWSGI
7:18 Configuring NGINX
8:29 Enabling HTTPS
9:40 Conclusion

Contact:

#reactjs #django #deployment #nginx #uwsgi
Рекомендации по теме
Комментарии
Автор

The idea of this video is to show you that "raw" Linux deployment can be quite easy. When I was learning web development many years ago, I used to deploy my applications using services for everything thinking that deploying from scratch has to be very difficult. I hope that this video will convince you that it is not. As noted, this is not an in-depth guide on deployment, but I am thinking of creating a series of videos where I would go much deeper. Let me know if this is something that you would be interested in.

PhilipFabianek
Автор

I'm really enjoying your React lecture!
Thank you!

oortcloud
Автор

Hello thanks for your video

I have a server setup on cloud Linux which is set-up on vps, other users has cpanel to their projects on this server, how csn i deploy my Django project on this server, also I wanted to have redis install on it to continually listen to request, i also wanted to be able to deploy my Django project cia the terminal without affecting existing tenants in the host, thr hosting uses apache

adewebs
Автор

Great video! Could you perhaps create a tutorial on deploying a Django React App with AWS EC2 or direct me to a resource for that? I have found a tutorial for deploying a Django project with EC2, but I have my frontend in React separately like you.

STEMingAsp