|
|
@ -12,12 +12,15 @@
|
|
|
|
##部署步骤
|
|
|
|
##部署步骤
|
|
|
|
---
|
|
|
|
---
|
|
|
|
1. 添加系统环境变量
|
|
|
|
1. 添加系统环境变量
|
|
|
|
>export $PORTAL_VERSION="production" // production, test, dev
|
|
|
|
>export $PORTAL_VERSION="production"
|
|
|
|
2. >npm install //安装node运行环境
|
|
|
|
2.安装依赖项
|
|
|
|
3. >yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh // 宝塔界面安装
|
|
|
|
>npm install
|
|
|
|
4. >bt 14 //启动宝塔系统
|
|
|
|
>sudo apt-get flask
|
|
|
|
5. 宝塔界面中上传本项目全部文件
|
|
|
|
>sudo apt-get sqlalchemy.sql.ddl
|
|
|
|
|
|
|
|
3.安装外部环境
|
|
|
|
|
|
|
|
>yum install -y wget && wget -O install.sh **http://download.bt.cn/install/install_6.0.sh && sh install.sh**
|
|
|
|
|
|
|
|
4.环境启动
|
|
|
|
|
|
|
|
>bt 14
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
##目录结构描述
|
|
|
|
##目录结构描述
|
|
|
|
development_of_web_application_systems.
|
|
|
|
development_of_web_application_systems.
|
|
|
@ -31,10 +34,10 @@ development_of_web_application_systems.
|
|
|
|
└─templates
|
|
|
|
└─templates
|
|
|
|
│ │ .gitattributes
|
|
|
|
│ │ .gitattributes
|
|
|
|
│ │ .gitignore
|
|
|
|
│ │ .gitignore
|
|
|
|
│ │ index.html //主页面
|
|
|
|
│ │ index.html //主页面
|
|
|
|
│ │ LICENSE //layuimini许可证
|
|
|
|
│ │ LICENSE //layuimini许可证
|
|
|
|
│ │
|
|
|
|
│ │
|
|
|
|
│ └─page //功能页面
|
|
|
|
│ └─page //功能页面
|
|
|
|
│ 404.html
|
|
|
|
│ 404.html
|
|
|
|
│ button.html
|
|
|
|
│ button.html
|
|
|
|
│ index.html
|
|
|
|
│ index.html
|
|
|
@ -50,7 +53,6 @@ development_of_web_application_systems.
|
|
|
|
├─ LICENSE //许可证
|
|
|
|
├─ LICENSE //许可证
|
|
|
|
├─ README.md
|
|
|
|
├─ README.md
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
|
|
|
|
***
|
|
|
|
***
|
|
|
|
###V1.0.0 版本内容更新
|
|
|
|
###V1.0.0 版本内容更新
|
|
|
|
1. 新功能 aaaaaaaaa
|
|
|
|
1. 新功能 aaaaaaaaa
|
|
|
|