summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-02-12 10:21:20 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-02-12 10:21:20 +0900
commita8feed1effd83d4940a84093de95d0aaa88f1c6c (patch)
tree037d4df6e1b27288e33e96983200ab9f68f4da28 /CONTRIBUTING.md
parentenhance(client): improve api error handling (diff)
parentenhance(server): videoThumbnailGenerator config (#9845) (diff)
downloadmisskey-a8feed1effd83d4940a84093de95d0aaa88f1c6c.tar.gz
misskey-a8feed1effd83d4940a84093de95d0aaa88f1c6c.tar.bz2
misskey-a8feed1effd83d4940a84093de95d0aaa88f1c6c.zip
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e539926789..de0a1abb45 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -111,6 +111,25 @@ command.
- Vite HMR (just the `vite` command) is available. The behavior may be different from production.
- Service Worker is watched by esbuild.
+### Dev Container
+Instead of running `pnpm` locally, you can use Dev Container to set up your development environment.
+To use Dev Container, open the project directory on VSCode with Dev Containers installed.
+
+It will run the following command automatically inside the container.
+``` bash
+git submodule update --init
+pnpm install --frozen-lockfile
+cp .devcontainer/devcontainer.yml .config/default.yml
+pnpm build
+pnpm migrate
+```
+
+After finishing the migration, run the `pnpm dev` command to start the development server.
+
+``` bash
+pnpm dev
+```
+
## Testing
- Test codes are located in [`/packages/backend/test`](/packages/backend/test).