parent
b1d691315f
commit
1046009edb
9
init.sh
9
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
|
||||
|
|
Loading…
Reference in New Issue