It's almost my own memo.
C:\Users\UserName> python -m venv my_venv
my_venv: virtual environment name
C:\Users\UserName> cd my_venv\Scripts
> activate
(my_venv) C:\Users\UserName>
(my_venv) C:\Users\UserName> python -m pip install --upgrade pip
(my_venv) C:\Users\UserName> pip install django
(my_venv) C:\Users\UserName> django-admin startproject myproject
myproject: project name
(my_venv) C:\Users\UserName> python manage.py startapp myapp
myapp: application name
(my_venv) C:\Users\UserName> cd myproject
(my_venv) C:\Users\UserName>myproject> python manage.py runserver
Recommended Posts