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:
@@ -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
|
||||||
Reference in New Issue
Block a user