9 lines
290 B
Bash
9 lines
290 B
Bash
#!/bin/bash
|
|
|
|
# 使用阿里云源安装必须组件
|
|
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple && \
|
|
pip config set global.trusted-host mirrors.aliyun.com && \
|
|
pip install -r /module/requirements.txt
|
|
|
|
# 启动程序
|
|
python /simsBE/manage.py runserver 0.0.0.0:8000 |