fix CONTRIBUTING.md (#12600)
This commit is contained in:
parent
b0039f0946
commit
9059b837fa
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue