build(init): 修复自动部署脚本路径错误

# Conflicts:
#	init.sh
This commit is contained in:
Argo Zhang 2019-10-05 14:09:15 +08:00
parent b1d691315f
commit 1046009edb
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 3 additions and 6 deletions

View File

@ -4,12 +4,9 @@ mkdir /usr/local/ba
mkdir /usr/local/ba/admin mkdir /usr/local/ba/admin
mkdir /usr/local/ba/client mkdir /usr/local/ba/client
cd ~/ cp ~/BootstrapAdmin/src/admin/Bootstrap.Admin/appsettings.json /usr/local/ba/admin
git clone https://gitee.com/LongbowEnterprise/BootstrapAdmin.git cp ~/BootstrapAdmin/src/admin/Bootstrap.Admin/BootstrapAdmin.db /usr/local/ba/admin
cp ~/BootstrapAdmin/src/client/Bootstrap.Client/appsettings.json /usr/local/ba/client
cp ~/BootstrapAdmin/src/admin/Bootstrap.Admin/appsettings.json /usr/local/admin
cp ~/BootstrapAdmin/src/admin/Bootstrap.Admin/BootstrapAdmin.db /usr/local/admin
cp ~/BootstrapAdmin/src/client/Bootstrap.Client/appsettings.json /usr/local/client
cp ~/BootstrapAdmin/services/* /usr/lib/systemd/system cp ~/BootstrapAdmin/services/* /usr/lib/systemd/system
systemctl enable ba.admin systemctl enable ba.admin