Created
January 24, 2017 03:43
-
-
Save Zagrebelin/b5376a6d92cdecb728052335ac1ec9de to your computer and use it in GitHub Desktop.
create django project on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Windows [Version 6.1.7601] | |
Zagrebelin-PI@ZAGREBELIN-PC C:\Users\zagrebelin-pi | |
> cd %temp% | |
Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp | |
> mkdir dja | |
Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp | |
> cd Dja | |
Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> python -m venv venv | |
Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> venv\Scripts\activate.bat | |
(venv) Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> pip install django | |
Collecting django | |
Downloading Django-1.10.5-py2.py3-none-any.whl (6.8MB) | |
100% |################################| 6.8MB 78kB/s | |
Installing collected packages: django | |
Successfully installed django-1.10.5 | |
You are using pip version 7.1.2, however version 9.0.1 is available. | |
You should consider upgrading via the 'python -m pip install --upgrade pip' command. | |
(venv) Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> django-admin startproject mysite | |
(venv) Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> dir | |
Том в устройстве C не имеет метки. | |
Серийный номер тома: 3CC9-CBFA | |
Содержимое папки C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
24.01.2017 08:40 <DIR> . | |
24.01.2017 08:40 <DIR> .. | |
24.01.2017 08:40 <DIR> mysite | |
24.01.2017 08:40 <DIR> venv | |
0 файлов 0 байт | |
4 папок 233 841 332 224 байт свободно | |
(venv) Zagrebelin-PI@ZAGREBELIN-PC C:\Users\ZAGREB~1\AppData\Local\Temp\dja | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment