본문 바로가기
Sundry/Python

vue-drf-auth-demo #1

by phpdoumi 2018. 12. 25.

[원본] https://github.com/srbolle/vue-drf-auth-demo

root@da0fa5dd7aae:~# mkdir vue-drf-auth-demo

root@da0fa5dd7aae:~# cd vue-drf-auth-demo/

root@da0fa5dd7aae:~/vue-drf-auth-demo# python3 -m venv .venv

root@da0fa5dd7aae:~/vue-drf-auth-demo# . .venv/bin/activate
(.venv) root@da0fa5dd7aae:~/vue-drf-auth-demo# pip install django markdown django-filter djangorestframework djangorestframework-jwt django-cors-headers wheel pytz
Collecting django
  Using cached https://files.pythonhosted.org/packages/fd/9a/0c028ea0fe4f5803dda1a7afabeed958d0c8b79b0fe762ffbf728db3b90d/Django-2.1.4-py3-none-any.whl
Collecting markdown
  Downloading https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl (89kB)
    100% |████████████████████████████████| 92kB 740kB/s
Collecting django-filter
  Downloading https://files.pythonhosted.org/packages/6a/8b/8517167a0adc45ce94d0873efb9487dd4cdeff7e10f96e837ad3d58f5837/django_filter-2.0.0-py3-none-any.whl (69kB)
    100% |████████████████████████████████| 71kB 4.7MB/s
Collecting djangorestframework
  Using cached https://files.pythonhosted.org/packages/99/0b/d37a5a96c5d301e23adcabcc2f3fa659fb34e6308590f95ebb50cdbe98a1/djangorestframework-3.9.0-py2.py3-none-any.whl
Collecting djangorestframework-jwt
  Using cached https://files.pythonhosted.org/packages/2b/cf/b3932ad3261d6332284152a00c3e3a275a653692d318acc6b2e9cf6a1ce3/djangorestframework_jwt-1.11.0-py2.py3-none-any.whl
Collecting django-cors-headers
  Using cached https://files.pythonhosted.org/packages/cc/7e/83ba784ad2b95317bbbed915f0888d7d1cd8dc3d2e4b8ddec8fbc4c3e800/django_cors_headers-2.4.0-py2.py3-none-any.whl
Collecting wheel
  Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Collecting pytz
  Using cached https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl
Collecting PyJWT<2.0.0,>=1.5.2 (from djangorestframework-jwt)
  Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Installing collected packages: pytz, django, markdown, django-filter, djangorestframework, PyJWT, djangorestframework-jwt, django-cors-headers, wheel
Successfully installed PyJWT-1.7.1 django-2.1.4 django-cors-headers-2.4.0 django-filter-2.0.0 djangorestframework-3.9.0 djangorestframework-jwt-1.11.0 markdown-3.0.1 pytz-2018.7 wheel-0.32.3
(.venv) root@da0fa5dd7aae:~/vue-drf-auth-demo# django-admin startproject backend(.venv) root@da0fa5dd7aae:~/vue-drf-auth-demo# tree
.
└── backend
    ├── backend
    │   ├── __init__.py
    │   ├── settings.py
    │   ├── urls.py
    │   └── wsgi.py
    └── manage.py

2 directories, 5 files


'Sundry > Python' 카테고리의 다른 글

vue-cli jquery bootstrap 설치  (0) 2018.12.28
vuengo tutorial  (0) 2018.12.18
json encode decode 예제  (0) 2018.12.14
django-widget-tweaks  (0) 2018.12.03
How to Render Django Form Manually  (0) 2018.12.02