Skip to content

Local development

Silverfeelin edited this page Dec 4, 2025 · 3 revisions

Requirements

Setting up

  • Fork SkyGame-Planner from GitHub.
  • Clone your fork to access the project files locally.
    • GitHub Desktop makes this easy, though I personally prefer cloning through VS Code.
  • Open the SkyGame-Planner project in your code editor.
  • Open a terminal in your code editor and run npm install to install the required dependencies.

Tip

If you're interested in making changes to the data repository, repeat above steps for SkyGame-Data.

Updating

To make sure your project is up to date, periodically follow these steps:

  • Fetch and pull the latest changes from the original repository.
  • Update your installed version skygame-data package by running npm install.

Running locally

  • Run npm run start to start a local development server.
  • After a short build process, you can access the Sky Planner at http://localhost:4200.
  • When changes to the code are saved, the project will automatically rebuild and refresh your browser.

SkyGame-Data

The Sky Planner relies on SkyGame-Data for most of its data.
Running locally will use the data from the npm package skygame-data by default, by using the version as configured in the project's package.json file.

If you want to contribute to SkyGame-Data and verify your changes locally, you can run the proxy version locally.

  • In the SkyGame-Data project, run npm run serve to both listen for changes to the data files and serve an updated version through a local URL.
  • Instead of starting SkyGame-Planner with npm run start, use npm run start-proxy. This will tell the planner to load data from the local URL.
  • Whenever you make changes to the data files, make sure to refresh the Sky Planner page to load the updated data.

Clone this wiki locally