Please note that it is difficult to read because it is the first post & Markdown description. The OS is Mac, but I think Windows will not change that much.
Assumption: python + anaconda environment has been set.
Create a virtual environment. Created here with the name "pyW".
conda create -n pyW python = 3.6 anaconda
Activate.
conda activate pyW
Install django.
conda install -c anaconda django
Prepare a folder to place the server environment. Here, prepare the desktop with the name "WEB" and move to that level.
cd web/
Create a server environment. Here, create it with the name "djangoproj".
django-admin startproject djangoproj
If you can create it, a folder will be created, so move to that hierarchy.
cd djangoproj/
Start the server.
python manage.py runserver
It is OK if it is displayed by tapping http://127.0.0.1:8000/ on the browser.
Recommended Posts