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:
20
freebsd/install.sh
Normal file
20
freebsd/install.sh
Normal 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
|
||||
Reference in New Issue
Block a user