mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
20 lines
389 B
Bash
20 lines
389 B
Bash
#!/bin/sh
|
|
|
|
pkg install -y git nano node npm mongodb44
|
|
|
|
sysrc mongod_enable=YES
|
|
service mongod start
|
|
|
|
cd /usr/local/
|
|
git clone https://github.com/naturalcrit/homebrewery.git
|
|
|
|
cd homebrewery
|
|
npm install
|
|
npm audit fix
|
|
npm run postinstall
|
|
|
|
cp install/freebsd/rc.d/homebrewery /usr/local/etc/rc.d/
|
|
chmod +x /usr/local/etc/rc.d/homebrewery
|
|
|
|
sysrc homebrewery_enable=YES
|
|
service homebrewery start |