From 1046009edbd8e749ada5aa284870a0d9c58687e6 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 5 Oct 2019 14:09:15 +0800 Subject: [PATCH] =?UTF-8?q?build(init):=20=E4=BF=AE=E5=A4=8D=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E9=83=A8=E7=BD=B2=E8=84=9A=E6=9C=AC=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Conflicts: # init.sh --- init.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/init.sh b/init.sh index 22763d19..ca40e22f 100644 --- a/init.sh +++ b/init.sh @@ -4,12 +4,9 @@ mkdir /usr/local/ba mkdir /usr/local/ba/admin mkdir /usr/local/ba/client -cd ~/ -git clone https://gitee.com/LongbowEnterprise/BootstrapAdmin.git - -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/src/admin/Bootstrap.Admin/appsettings.json /usr/local/ba/admin +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/services/* /usr/lib/systemd/system systemctl enable ba.admin