1、git拉代码
2、 建立或配置虚拟环境(为了多项目的隔离)https://blog.csdn.net/_/article/details/
- pip install virtualenv(如果没安装)
- virtualenv venv -p python3
- venv\Scripts\activate
3、import包,其中特别的:pip install django、pip install django_rest_framework、 pip install django-cors-headers、 pip install django-filter、 pip install coreapi pyyaml、pip install django-rest-swagger、pip install drf_yasg
4、pycharm配置



命令行:aps_backend目录下:python manage.py runserver 0.0.0.0:8000
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/199970.html原文链接:https://javaforall.net
