-
Notifications
You must be signed in to change notification settings - Fork 0
Run Locally
hyperdefined edited this page Oct 8, 2025
·
3 revisions
This wiki page shows you how to run cobalt.directory locally.
- git
- Java 21+
- Apache Maven
- npm (for web)
Clone this repository. You will see a run.sh in the root. Simply run to perform the tests. Results are located in backend/results.json.
To run the web module, first run the backend tests using the run.sh file provided. Afterwards, move the files below:
-
backend/results.json->web/data/results.json- required, used to load the data into the site. -
backend/api.json->web/data/api.json- optional, used for https://cobalt.directory/api.json -
backend/api_frontends.json->web/data/api_frontends.jsonoptional, used for https://cobalt.directory/api_frontends.json
Afterwards, simply run the commands below:
-
npm i- install the packages -
npm run dev- run the site, access by visitinghttps://localhost:5173/