RPNow is a self-hosted, web-based roleplay chat website.
(TODO: add a GIF here!)
For non-technical users who just want to deploy a server, there is a helpful guide here!
However, if you're interested in building the project from source, or modifying the server, read on.
If you have GNU Make installed, then simply open a shell in the project root and run make
.
Otherwise, you can execute the individual steps manually:
# Build the web frontend
cd views
npm install
npm run build
# Build the server
cd ../server
go build -o ../rpnow
# The built server executable will now be at the project root
cd ..
For a fast and pleasant development experience, it's nice to be able to rebuild and reload the server every time you change a source file. To do that for RPNow, run these two things:
- Web Frontend: Open a shell in the "views" directory. If you haven't already run
npm install
, do that first. Then, runnpm run watch
, which will watch and rebuild the JavaScript. - Server Backend: Open a shell in the "server" directory. Make sure you have installed Nodemon (
npm install --global nodemon
) and then runnodemon
. This will keep the server running at http://localhost:13000.
RPNow is more-or-less feature-complete. While it's possible that I may add features in the future, it is quite likely that the project will remain dormant for months or years.
If I become aware of any security issues, I will try to address them in a timely manner.
Cross-browser testing provided by Browserstack.