代码拉取完成,页面将自动刷新
同步操作将从 aipaw/wookteam 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Docker
&Docker Compose
must be installed
// using ssh
git clone git@github.com:kuaifan/wookteam.git
// or you can use https
git clone https://github.com/kuaifan/wookteam.git
// enter directory
cd wookteam
// copy .env
cp .env.docker .env
./cmd composer install
./cmd artisan key:generate
./cmd artisan migrate --seed
./cmd php bin/wookteam --port=8080 --ssl=4433
./cmd up -d
./cmd npm install
./cmd npm run prod
./cmd restart
Installed, project url: http://IP:PORT
(PORT
is the parameter 8080
in the build).
./cmd php bin/wookteam --port=8080 --ssl=4433
./cmd up -d
./cmd stop
P.S: Once application is setup, whenever you want to start the server (if it is stopped) run below command
./cmd start
You can do this using the following command
./cmd artisan "your command" // To run a artisan command
./cmd php "your command" // To run a php command
./cmd composer "your command" // To run a composer command
./cmd supervisorctl "your command" // To run a supervisorctl command
./cmd test "your command" // To run a phpunit command
./cmd npm "your command" // To run a npm command
./cmd yarn "your command" // To run a yarn command
./cmd mysql "your command" // To run a mysql command
Note: Please backup your data before upgrading!
git fetch --all
git reset --hard origin/master
git pull
./cmd composer update
./cmd artisan migrate
./cmd npm install
./cmd npm run prod
./cmd restart
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。