Start my rss project.
Here is python django installation log.
PS D:\dvp\rssnews> pip install virtualenvwrapper-win
Collecting virtualenvwrapper-win
Downloading https://files.pythonhosted.org/packages/f5/23/4cba98733b9122219ce67177d745e4984b524b867cf3728eaa807ea21919/virtualenvwrapper-win-1.2.5.tar.gz
Collecting virtualenv (from virtualenvwrapper-win)
Downloading https://files.pythonhosted.org/packages/c4/9a/a3f62ac5122a65dec34ad4b5ed8d802633dae4bc06a0fc62e55fe3e96fe1/virtualenv-16.6.1-py2.py3-none-any.whl (2.0MB)
100% |████████████████████████████████| 2.0MB 918kB/s
Installing collected packages: virtualenv, virtualenvwrapper-win
Running setup.py install for virtualenvwrapper-win ... done
Successfully installed virtualenv-16.6.1
PS D:\dvp\rssnews>
PS D:\dvp\rssnews> mkvirtualenv rsswebsite
C:\Users\apeng\Envs is not a directory, creating
Using base prefix 'c:\\users\\apeng\\appdata\\local\\programs\\python\\python37-32'
New python executable in C:\Users\apeng\Envs\rsswebsite\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
PS D:\dvp\rssnews> workon rsswebsite
PS D:\dvp\rssnews> pip install django
Collecting django
Downloading https://files.pythonhosted.org/packages/eb/4b/743d5008fc7432c714d753e1fc7ee56c6a776dc566cc6cfb4136d46cdcbb/Django-2.2.2-py3-none-any.whl (7.4MB)
|████████████████████████████████| 7.5MB 726kB/s
Collecting pytz (from django)
Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
|████████████████████████████████| 512kB 1.3MB/s
Collecting sqlparse (from django)
Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
Installing collected packages: pytz, sqlparse, django
Successfully installed django-2.2.2 pytz-2019.1 sqlparse-0.3.0
PS D:\dvp\rssnews>
PS D:\dvp\rssnews> python -m django --version
2.2.2
PS D:\dvp\rssnews> django-admin startproject rssdesign
PS D:\dvp\rssnews> dir
Directory: D:\dvp\rssnews
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 6/24/2019 10:01 PM rssdesign
PS D:\dvp\rssnews> cd rssdesign
PS D:\dvp\rssnews\rssdesign> python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
June 24, 2019 - 22:01:52
Django version 2.2.2, using settings 'rssdesign.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[24/Jun/2019 22:03:50] "GET / HTTP/1.1" 200 16348
[24/Jun/2019 22:03:50] "GET /static/admin/css/fonts.css HTTP/1.1" 200 423
Not Found: /favicon.ico
[24/Jun/2019 22:03:50] "GET /favicon.ico HTTP/1.1" 404 1975
[24/Jun/2019 22:03:50] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 86184
[24/Jun/2019 22:03:50] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 85692
[24/Jun/2019 22:03:50] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 85876
Then, I have site up :
No comments:
Post a Comment