diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-12-08 09:00:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-08 09:00:23 +0900 |
| commit | 9059b837fa4c56c9aa84471601d038aabdc68a2b (patch) | |
| tree | 0a28f17245f05a563bf6745f15e1bda8f462f2d3 /CONTRIBUTING.md | |
| parent | chore: 開発モードでフロントエンドとバックエンドを独立... (diff) | |
| download | sharkey-9059b837fa4c56c9aa84471601d038aabdc68a2b.tar.gz sharkey-9059b837fa4c56c9aa84471601d038aabdc68a2b.tar.bz2 sharkey-9059b837fa4c56c9aa84471601d038aabdc68a2b.zip | |
fix CONTRIBUTING.md (#12600)
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 9 |
1 files 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). |