Employee_DRF

时间:2021-03-12 21:56:21
【文件属性】:
文件名称:Employee_DRF
文件大小:20.8MB
文件格式:ZIP
更新时间:2021-03-12 21:56:21
Python 安装Employeed DRF项目的说明 创建虚拟环境并激活它 克隆存储库 git clone https://github.com/tadiparChinese/Employee_DRF.git 进入项目文件夹后,运行: virtualenv env 激活virtualenv在Windows上,virtualenv(venv)创建一个名为的批处理文件。 \env\Scripts\activate.bat 使用Requirements.txt文件安装所需的库 pip install -r requirements.txt 为DRF创建新的Django项目和初始设置 python manage.py makemigrations python manage.py migrate python manage.py runserver 登录密码 username: admin passwo

网友评论