0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 02:22:49 +00:00

Create install.sh

This commit is contained in:
G.Ambatte
2020-12-06 18:06:23 +13:00
parent 99656357b1
commit 65f4094b5a

20
freebsd/install.sh Normal file
View File

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