We have used too many servers in building our site. When we will make some modification on site, some of servers should be restart or reload.
There is a cheat sheet of commands we used before.
RuSITE 4 years, 9 months ago
While you start a Django project, Django will create an SQLite data file for the project automatically.
SQLite is so nice for his lightweight and easily copied, but I am worried that it can give enough support for my future use. As I said, my plan is to use my site as a blog, a chatroom, and an online Laboratory. Therefore, MySQL may be more suitable for my requirements.
Here is an easy comparison table from educba.com.
RuSITE 4 years, 9 months ago
Django is just a framework, which means it only provides basic services to web applications. And the applications are what users create to realize the function they need.
So, we will start with the first Django application.
image by RealPython.
RuSITE 4 years, 9 months ago
Some structure design is needed before we start the applications.
RuSITE 4 years, 9 months ago
JupyterLab is a web-based IDE(interactive development environment). It is well-known in the field of data science and scientific computing. And also with its help, the programmer can code anytime anywhere without any installations or configurations, one web browser is enough for all.
RuSITE 4 years, 9 months ago
From now on, things go a bit complicated.
We should set up connections within Django, uWSGI, and Nginx.
RuSITE 4 years, 9 months ago
There are a dozen ways to build a site. WordPress is one of these good choices. It's quite easy to set up, just after a few steps' installations and you will get a beautiful site. But as a GEEK (more or less), I would rather design and code all by myself. I am not gonna use WordPress for my site, but I may show the way how to set it up later.
Now let's keep working on the web server, Nginx and uWSGI.
RuSITE 4 years, 9 months ago
While the virtual server and SSH client are ready, all the left are the software part.
The server is the base of all the software parts. So, a better server a better world.
There are a few steps that should be done to the Ubuntu server.
RuSITE 4 years, 9 months ago
Hey guys, this is Russell.
I have paid nearly 2 months of my personal time to build this site. Actually, 2 hours may be enough for that, and most of my time was used to get known about all relative knowledge.
I am gonna try to note all the steps I have done with it, and I wish it could help others or remind me for a later time.
RuSITE 4 years, 9 months ago