Get the App
SLTechnology News&Howtos  ›  Development  › 

The process of building django project environment

Shulou Source: shulou.com Published: 2022-06-03 14:09:52 11月14日 Update

This article introduces the relevant knowledge of "the process of building the environment of the django project". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Installation environment: centos7.4

1 install nginx

Yum install nginx

Note: you have tried to install it locally and on Tencent Cloud, using the same command: there is no available installation package on the local installation prompt, but the installation on the cloud is normal.

Start nginx and enable boot boot

Systemctl start nginx.service

Systemctl enable nginx.service

2 download and install the python environment

Install python 3.7.1

(1) install the development kit: yum-y groupinstall "Development tools" first

Note: you often encounter that you can't find the toolkit. Execute the above command several times to check if there are any spelling mistakes. Of course, even if you spell correctly, you may not find it.

Install the kit.

(2) install the dependency package:

Yum-y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel

Db4-devel libpcap-devel xz-devel libffi-devel

Note: this is a command, don't execute it twice, there are really a lot of dependent packages, install first, then install hints about lack of dependencies, then continue to supplement.

(3) download the linux version of the python installation package (suffix: tar.xz)

Https://www.python.org/downloads/release/python-371/

This is the end of the content of "the process of building the django project environment". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Environment process commands tools toolkits projects content more knowledge tips practicality learning followed by suffixes dilemmas practical regular meetings situations articles cases Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB OPPO Reno NVidia vpn