Fuint项目合集
部署容器:腾讯云 5M
访问地址:
#管理后台
https://www.zidingx.com/fuintAdmin/
#移动商城
https://www.zidingx.com/fuintH5/#/pages/index/index?storeId=9
模块 | 备注 |
---|---|
fuintBackend | 后端接口 |
fuintAdmin | 管理后台 |
fuintH5 | 商城移动端 |
环境 | 备注 |
---|---|
Java | 1.8 |
Mysql | 5.7或5.8,本人使用 MariaDB 10.5.25 |
Redis | 推荐 3.2 |
项目 | 操作 |
---|---|
打包 | Maven 面板 fuint -- lifecycle -- install |
jar包位置 | /usr/local/fuint/fuint.jar |
配置文件 | /usr/local/fuint/configure/prod/application.properties |
启动命令 | nohup java -Dfile.encoding=UTF-8 -Xmx1024m -Xms1024m -Xss256k -Xmn1024m -jar /usr/local/fuint/fuint.jar > /dev/null 2>&1 & |
env.profile=prod
env.properties.path=/usr/local/fuint/configure/
#前端h5地址
website.url=https://www.zidingx.com/fuintH5/
#上传图片本地地址
images.root=/opt/www/fuintFs
images.path=/fuintFs/static/uploadImages/
#上传图片服务器域名
images.upload.url=https://www.zidingx.com
location /fuint-application/ {
proxy_pass http://localhost:18080/;
client_max_body_size 5m;
proxy_set_header host $host;
proxy_set_header X-Real_IP $remote_addr;
proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for;
}
项目 | 备注 |
---|---|
运行环境 | nignx |
打包命令 | npm run build:prod |
文件位置 | /opt/www/fuintAdmin/ |
#fuint会员营销系统/生产环境
VUE_APP_BASE_API = '/fuint-application/'
#发布目录
VUE_APP_PUBLIC_PATH = '/fuintAdmin/'
#后端接口地址
VUE_APP_SERVER_URL = 'https://www.zidingx.com/fuint-application/'
location ^~ /fuintAdmin/ {
index index.html;
alias /opt/www/fuintAdmin/;
try_files $uri $uri/ /index.html;
}
项目 | 备注 |
---|---|
运行环境 | nignx |
文件位置 | /opt/www/fuintH5/ |
# 注册H5 Builder后获取
"appid" : "__UNI__1A82807"
# 主要是base路径
"h5" : { "title" : "店火花会员营销系统", "domain" : "www.fuint.cn", "router" : { "base" : "./", "mode" : "hash" } }
location ^~ /fuintH5/ {
index index.html;
alias /opt/www/fuintH5/;
try_files $uri $uri/ /index.html;
}
location ^~ /fuintFs/ {
index index.html;
alias /opt/www/fuintFs/fuintFs/;
}