Start World Locally
Starting a world locally is as simple as running npm start
or node boot.js
if you are using any of the example worlds or projects created from the yantra init
command.
Start the world
cd my-world
npm install
npm start
The console will now output a browser link you can access to view the world.
Local Dev vs Production
Your game is in "development" or "dev" mode when it's started from the command line; this means the game world will only process the game state when your local script is connected and running.
For your world to run without your local connection, you must deploy the world to production.