project init

1.首页微调
2.新增游戏-鉴色
This commit is contained in:
rucky
2021-10-12 18:03:44 +08:00
commit e077d3fa4a
72 changed files with 29927 additions and 0 deletions

42
deploy.config.js Normal file
View File

@@ -0,0 +1,42 @@
module.exports = {
projectName: 'shadertoy', // 项目名称
// privateKey: '/Users/rucky/.ssh/id_rsa',
passphrase: '',
// dev: {
// // 环境对象
// name: '开发环境', // 环境名称
// script: 'npm run build', // 打包命令
// host: '192.168.0.1', // 服务器地址
// port: 22, // 服务器端口号
// username: 'root', // 服务器登录用户名
// password: '123456', // 服务器登录密码
// distPath: 'dist', // 本地打包生成目录
// webDir: '/usr/local/nginx/html', // 服务器部署路径(不可为空或'/'
// isRemoveRemoteFile: true // 是否删除远程文件默认true
// },
test: {
// 环境对象
name: 'szxgl测试环境', // 环境名称
script: 'npm run build:dev', // 打包命令
host: '120.25.121.117', // 服务器地址
port: 22, // 服务器端口号
username: 'front', // 服务器登录用户名
password: 'szxglcn@3038', // 服务器登录密码
distPath: 'dist', // 本地打包生成目录
webDir: '/mnt/cdn/scl/webglToy',
// webDir: "/mnt/services/tomcat-8090-test/webapps/test/front", // test替换自己实际项目目录 服务器部署路径(不可为空或'/'
isRemoveRemoteFile: true // 是否删除远程文件默认true
},
prod: {
// 环境对象
name: 'xglpa生产环境', // 环境名称
script: 'npm run build:pro', // 打包命令
host: '120.25.121.117', // 服务器地址
port: 22, // 服务器端口号
username: 'front', // 服务器登录用户名
password: 'szxglcn@3038', // 服务器登录密码
distPath: 'dist', // 本地打包生成目录
webDir: "/mnt/services/tomcat-9090/webapps/worktile/front", // xxx替换自己实际项目目录 服务器部署路径(不可为空或'/'
isRemoveRemoteFile: true // 是否删除远程文件默认true
}
}