Files
AstralRinth/apps/docs/src/content/docs/contributing/knossos.md
Geometrically 486cd68bf7 New docs site (#2521)
* initial docs

* more docs work

* Update readme + add license

* update frontend GH action
2024-10-18 17:36:20 -07:00

1.3 KiB

title, description
title description
Knossos (Frontend) Guide for contributing to Modrinth's frontend

This project is our monorepo. You can find the frontend in the apps/frontend directory.

knossos is the Nuxt.js frontend. You will need to install pnpm and run the standard commands:

pnpm install
pnpm run web:dev

Once that's done, you'll be serving knossos on localhost:3000 with hot reloading. You can replace the dev in pnpm run dev with build to build for a production server and start to start the server. You can also use pnpm run lint to find any eslint problems, and pnpm run fix to try automatically fixing those problems.

.env variables & command line options

Basic configuration

SITE_URL: The URL of the site (used for auth redirects). Default: http://localhost:3000 BASE_URL: The base URL for the API. Default: https://staging-api.modrinth.com/v2/ BROWSER_BASE_URL: The base URL for the API used in the browser. Default: https://staging-api.modrinth.com/v2/

Ready to open a PR?

If you're prepared to contribute by submitting a pull request, ensure you have met the following criteria:

  • pnpm run fix has been run.