Appearance
Appearance
To develop and build the LiveOps Dashboard you first need to install Node.js and PNPM:
npm install -g pnpm
in your terminal of choice.The dashboard code is split into two parts: the core SDK, and the game-specific part written by you. If you followed the Integrating the Metaplay SDK then you'll already have both of these parts created. You will have a folder structure that looks something like this:
YourProjectRoot
+--- Backend
| +--- Dashboard
| +--- Server
| +--- ...
+--- MetaplaySDK
| +--- Server
| +--- ...
+--- pnpm-workspace.yaml
We just need to perform one last step to initialize the dashboard code:
YourProjectRoot/Backend/Dashboard/
in your terminal of choice and run pnpm install
to install all of the required dependencies.The game server ships with a pre-built copy of the dashboard that it serves on port 5550. However, for development, you'll want to run a standalone version for faster iterations. This standalone version is served on port 5551. These development builds come with Node.js debugging (breakpoints inside your editor!) and file hot loading to name just a few benefits.
pnpm dev
in the dashboard project folder (ie: YourProjectRoot/Backend/Dashboard/
)q
.Once you have the LiveOps Dashboard set up and running locally, you can start configuring and customizing the LiveOps Dashboard.