0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 18:22:40 +00:00

Create install.sh

This commit is contained in:
G.Ambatte
2020-12-06 18:06:23 +13:00
parent ba600f5da6
commit 1b9d46f834

View File

@@ -1,20 +1,20 @@
#!/bin/sh #!/bin/sh
pkg install -y git nano node npm mongodb44 pkg install -y git nano node npm mongodb36-3.6.20
sysrc mongod_enable=YES sysrc mongod_enable=YES
service mongod start service mongod start
cd /usr/local/ cd /
git clone https://github.com/naturalcrit/homebrewery.git git clone https://github.com/G-Ambatte/homebrewery.git
cd homebrewery cd homebrewery
npm install npm install
npm audit fix npm audit fix -force
npm run postinstall npm run postinstall
cp freebsd/rc.d/homebrewery /usr/local/etc/rc.d/ cp freebsd/rc.d/homebrewery /etc/rc.d/
chmod +x /usr/local/etc/rc.d/homebrewery chmod +x /etc/rc.d/homebrewery
sysrc homebrewery_enable=YES sysrc homebrewery=YES
service homebrewery start service homebrewery start