mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 22:32:45 +00:00
20 lines
362 B
Bash
20 lines
362 B
Bash
#!/bin/sh
|
|
|
|
pkg install -y git nano node npm mongodb44-4.4.1
|
|
|
|
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_enable=YES
|
|
service homebrewery start |