This is a project template for RPGJS apps. It lives at https://github.com/rpgjs/starter.
To create a new project based on this template using degit:
npx degit rpgjs/starter rpg-app
cd rpg-app
Install the dependencies...
cd rpg-app
npm install
npm run dev
Navigate to localhost:3000. You should see your game running. Edit a file in src
, save it, and reload the page to see your changes.
Launch in RPG mode with
RPG_TYPE=rpg npm run dev
NODE_ENV=production npm run build
sudo docker build -t rpg .
sudo docker run -p 3000:3000 -d rpg
Davidvitas Attribution 4.0 International (CC BY 4.0)- https://creativecommons.org/licenses/by/4.0/deed.en