|
|
@ -7,16 +7,15 @@
|
|
|
|
主要配置环境:
|
|
|
|
主要配置环境:
|
|
|
|
>node v0.10.28+
|
|
|
|
>node v0.10.28+
|
|
|
|
>python 3.9
|
|
|
|
>python 3.9
|
|
|
|
>redIs ~
|
|
|
|
>redIs ~/
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##部署步骤
|
|
|
|
##部署步骤
|
|
|
|
---
|
|
|
|
---
|
|
|
|
1. 添加系统环境变量
|
|
|
|
1. 添加系统环境变量
|
|
|
|
>export $PORTAL_VERSION="production" // production, test, dev
|
|
|
|
>export $PORTAL_VERSION="production" // production, test, dev
|
|
|
|
2. >npm install //安装node运行环境
|
|
|
|
2. >npm install //安装node运行环境
|
|
|
|
3. >yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh // 宝塔界面安装
|
|
|
|
3. >yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh // 宝塔界面安装
|
|
|
|
4. >bt 14 //启动宝塔系统
|
|
|
|
4. >bt 14 //启动宝塔系统
|
|
|
|
5. 宝塔界面中上传本项目全部文件
|
|
|
|
5. 宝塔界面中上传本项目全部文件
|
|
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
@ -47,8 +46,8 @@ development_of_web_application_systems.
|
|
|
|
├─ uwsgi.ini
|
|
|
|
├─ uwsgi.ini
|
|
|
|
├─ uwsgi.pid
|
|
|
|
├─ uwsgi.pid
|
|
|
|
├─ gunicorn_conf.py
|
|
|
|
├─ gunicorn_conf.py
|
|
|
|
├─ main.py //主函数
|
|
|
|
├─ main.py //主函数
|
|
|
|
├─ LICENSE //许可证
|
|
|
|
├─ LICENSE //许可证
|
|
|
|
├─ README.md
|
|
|
|
├─ README.md
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|