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.git
to clone the repocd pvpsite
to enter the project directory git just madenpm install
to install dependenciescp src/config.example.js src/config.js
andcp src/client.config.example.js src/client.config.js
vim src/config.js
andvim src/client.config.js
to 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 --release
to build the projectnode build/server.js
to 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.