0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 09:12:45 +00:00
Files
homebrewery/freebsd/install.sh
G.Ambatte 4484cc7d16 Change install directory
Change of install directory to `/usr/local/homebrewery`
2021-01-17 17:19:23 +13:00

20 lines
367 B
Bash

#!/bin/sh
pkg install -y git nano node npm mongodb44-4.4.1
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 freebsd/rc.d/homebrewery /etc/rc.d/
chmod +x /etc/rc.d/homebrewery
sysrc homebrewery_enable=YES
service homebrewery start