One, the requirement is to build a project on the desktop with a name for beauty
1) CD Desktop
2) mkdir Meizhuang_server
3) Install the virtual environment pipenv--python3.6
4) Enter virtual environment pipenv Shell will generate two files Pipfile and Pipfile.lock in Meizhuang_server at this time
5) Install Django:django-admin Startproject Meizhuang This folder is now generated under Meizhuang_server Meizhuang
6) CD Meizhuang into the manage.py folder
7) Execute the command./manage.py startapp home1 generate home1 App
8) Open Pycharm to start configuring the virtual environment, under open Meizhuang_server Meizhuang
9) Commod +, shortcut key open pefrence, set project, double click to select Project Interpreter, go to select a virtual environment, if not, click Local Add, Go to Machion--virtualenvs to find the corresponding project name for the virtual Environment folder, then click on the bin below to select Python
10) Click Setting.py, go in to modify the language and time zone, respectively set to
Language_code = ' Zh_hans '
Time_zone = ' Asia/shanghai '
To this step is basically finished
Python builds the project process from the beginning