From 9059b837fa4c56c9aa84471601d038aabdc68a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8A=E3=81=95=E3=82=80=E3=81=AE=E3=81=B2=E3=81=A8?= <46447427+samunohito@users.noreply.github.com> Date: Fri, 8 Dec 2023 09:00:23 +0900 Subject: [PATCH] fix CONTRIBUTING.md (#12600) --- CONTRIBUTING.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f8b4fe5930..7f6c1f4f82 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,6 +117,10 @@ command. - Server-side source files and automatically builds them if they are modified. Automatically start the server process(es). - Vite HMR (just the `vite` command) is available. The behavior may be different from production. - Service Worker is watched by esbuild. +- The front end can be viewed by accessing `http://localhost:5173`. +- The backend listens on the port configured with `port` in .config/default.yml. +If you have not changed it from the default, it will be "http://localhost:3000". +If "port" in .config/default.yml is set to something other than 3000, you need to change the proxy settings in packages/frontend/vite.config.local-dev.ts. ### Dev Container Instead of running `pnpm` locally, you can use Dev Container to set up your development environment. @@ -138,11 +142,6 @@ After finishing the migration, run the `pnpm dev` command to start the developme pnpm dev ``` -To access Misskey once it's launched, type `http://localhost:[port]` in your browser's address bar. -The [port] part will contain the value set in the port item of .config/default.yml (3000 will be entered by default) - -caution: If you use a port other than 3000, you need to change the proxy settings in packages/frontend/vite.config.local-dev.ts. - ## Testing - Test codes are located in [`/packages/backend/test`](/packages/backend/test).