First, we install our base software stack. Be sure to first to make sure you've synced with the repositories and all other packages are up to date.pacman -Syu
sudo pacman -S git nodejs npm redis imagemagick icu
Using Redis as a data store and start it. You can also set up a password.
systemctl enable redis
systemctl start redis
Next, clone this repository:
git clone -b v4.x https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
Initiate the setup script by running the app with the flag:setup
./nodebb setup
The default settings are for a local server running on the default port, with a redis store on the same machine/port.
Lastly, we run the forum.
./nodebb start
Intall caddy
pacman -S caddy
Create Caddyfile.
cat >/etc/caddy/Caddyfile<<EOF
hostbill.net {
reverse_proxy localhost:4567
}
EOF
Start and enable caddy
systemctl enable caddy
systemctl start caddy
Via hostbill.net and enjoy it!