0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 20:03:02 +00:00
Files
homebrewery/freebsd/install.sh
G.Ambatte d3fa8a54ae Remove --force option
Remove --force option from `npm audit fix`. While this has not caused any issues to date, there is no guarantee that it will continue to be the case.
2020-12-28 12:56:17 +13:00

20 lines
355 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
npm run postinstall
cp freebsd/rc.d/homebrewery /etc/rc.d/
chmod +x /etc/rc.d/homebrewery
sysrc homebrewery_enable=YES
service homebrewery start