Answer the question
In order to leave comments, you need to log in
Recommend resources for learning how to set up a Django webserver?
Now I'm learning Python and Django and ran into problems setting up the environment and interacting with it. Moreover, there are problems at every step, those instructions that come across are designed for experience with the console, virtualization and SSH, but I don’t have this experience, and I still can’t understand where to start.
I have experience in PHP development, but everything was simple with the environment - on the local Denver machine, on shared hosting, everything is also already set up, at most, correct a couple of configs according to instructions from the Internet.
I don't plan to get into serious network administration, but I want to understand the environment in which I will be working as a web programmer.
I found Bitnami Djangostack, in which the whole environment seems to be collected, but it's still not entirely clear how to work with it locally and how to do it later on the hosting.
I ask you to recommend books/articles/sites to understand the basic settings of the web environment for Django (both on hosting and on the local machine), as well as interaction with it. English is not a problem.
Answer the question
In order to leave comments, you need to log in
I found a couple of courses that just satisfy my original question (although not directly on Django, but they allow you to delve into the basics of setting up a web environment):
1) Linux Command Line Basics - A basic introductory course on working with Shell
2) Configuring Linux Web Servers - a more advanced course
Both courses on udacity.com are in English (with English subtitles), are short, you can complete both in a few days.
3) As a workout, you can also spend an evening on Learn the Command Line on codecademy.com
SSH - the same console, only remote. You only need to know the basic commands nano cat ls ln rm cp mv mkdir, etc.
Be sure to read the manual for virtualenv. It is possible without it if there is only one django application on the server, but it is better with it. More convenient.
With nginx, you don’t really need to conjure, here it is written how to configure it.
There are two main HTTP servers for Django: Gunicorn and uWSGI .
You don't need anything on the dev server. Django already has a server (runserver) and a SQLite database, which also does not need to be installed.
No books are needed here, just read a couple of Getting Started for the technologies used.
There is also an excellent article on Habré on deploying a web server for Django applications on FirstVDS hosting . Although the article is from
2012, it has practically not lost its relevance.
Here you have to install everything you need yourself, which contributes to a better understanding of the process.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question