Can be found at bot.pvpcraft.ca
To build for release, run npm run build --release
- Access to the same RethinkDB as pvpcraft
- node.js 8.6 or higher and npm
- git and node-gyp
git clone https://github.com/macdja38/pvpsite.gitto clone the repocd pvpsiteto enter the project directory git just madenpm installto install dependenciescp src/config.example.js src/config.jsandcp src/client.config.example.js src/client.config.jsvim src/config.jsandvim src/client.config.jsto edit the config files, alternatively if you are not familiar with a command line editor like vim you may edit the files in anything but notepad. I like windows or macOSnpm run build --releaseto build the projectnode build/server.jsto run the project
Optionally, set up a caching reverse proxy to serve the static files (js and PvPCraft logo are the most important), and to forward from port 80 to 3000.