Skip to content
Gravity Logo / Docs Gravity home
Browse documentation
Documentation/Mission Control

Installation

Run Mission Control with the Node version range in its own package.json (^22.14.0 in this checkout). Before using Mission Control you must install the Gravity server and client and ensure it’s running. Mission Control will plug into your existing API endpoints and database.

From the Mission Control repository root, run:

npm run setup

After you have completed the setup process, open a new browser window and navigate to:

http://localhost:5002/setup

Danger

Please ensure you use a strong password if you plan to deploy Mission Control to a live server.

Then complete the setup wizard in the browser, similar to the main setup you completed earlier.

Info

Mission control runs port 5001 (server) and 5002 (client) to ensure there is no conflict with your main application.

Clean Up

Warning

You MUST remove the setup files from your install after setup. Failing to do so, will let anyone access the setup process.

Remove api/setup.js, controller/setupController.js, model/setup.js, client/src/routes/setup.js and client/src/views/setup/ from Mission Control after setup. Remove the setup route import and registration from client/src/app/app.jsx. The server loads route files from api/ automatically.

Check the paths in bin/cleanup.js before using npm run cleanup. In this version the script targets ../client/src/routes/setup.js, which belongs to a sibling project. The intended file is inside Mission Control at client/src/routes/setup.js.