first commit
This commit is contained in:
11
启动命令.txt
Normal file
11
启动命令.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# 安装依赖环境
|
||||
pip install -r requirements.txt
|
||||
# 执行迁移命令:
|
||||
python manage.py makemigrations system
|
||||
python manage.py migrate
|
||||
# 初始化数据
|
||||
python manage.py init
|
||||
# 启动项目
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
# 或使用 daphne :
|
||||
daphne -b 0.0.0.0 -p 8000 fuadmin.asgi:application
|
||||
Reference in New Issue
Block a user