zhangjia
zhangjia
你可以参考这个流程解决下 框架部署 pip install -r requirements.txt pip install https://github.com/darklow/django-suit/tarball/v2 进入 api_automation_test/settings.py 配置数据库信息 进入到manage.py 同目录下 执行django初始化流程 python3 manage.py makemigrations python3 manage.py migrate python3 manage.py createsuperuser 切换npm镜像 npm config set registry https://registry.npm.taobao.org...
另外需要将IP地址改为自己的IP /Users/admin/gitclone/github/api_automation_test/frontend/src/api/api.js 将 // export const test = 'http://120.79.232.23:8000'; // export const url = 'http://120.79.232.23'; 注释 或改成自己的IP地址即可,端口要对应自己启动runserver的端口
我解决了 python3 -m pip install --upgrade pip #twine 3.4.1 requires requests>=2.20, but you have requests 2.18.4 which is incompatible. pip3 install requests==2.20 pip3 install https://github.com/darklow/django-suit/tarball/v2
记录下我的心酸里程 框架部署 pip install -r requirements.txt #会有报错的 pip install https://github.com/darklow/django-suit/tarball/v2 #31 进入 api_automation_test/settings.py 配置数据库信息 进入到manage.py 同目录下 执行django初始化流程 python3 manage.py makemigrations python3 manage.py migrate python3 manage.py createsuperuser 切换npm镜像 npm config set...