summaryrefslogtreecommitdiff
path: root/.devcontainer/init.sh
diff options
context:
space:
mode:
authorRyotaK <49341894+Ry0taK@users.noreply.github.com>2023-02-12 09:07:56 +0900
committerGitHub <noreply@github.com>2023-02-12 09:07:56 +0900
commit3c7e1ff92ef4100347ee2151c3edfc431853532b (patch)
tree0959cf408975778a459552c20bfb628750b0c0ea /.devcontainer/init.sh
parentfix: 広告のexpiresAtをLocalTZ分ずらして初期化 (#9876) (diff)
downloadsharkey-3c7e1ff92ef4100347ee2151c3edfc431853532b.tar.gz
sharkey-3c7e1ff92ef4100347ee2151c3edfc431853532b.tar.bz2
sharkey-3c7e1ff92ef4100347ee2151c3edfc431853532b.zip
Dev Containerの設定を追加 (#9872)
* Dev Containerの設定を追加 * テンプレート生成時に含まれていたコメントを削除 * 起動スクリプトを分割 JSONの中にベタ書きすると長くなるので * 改行 * Dev Containerの使用方法を追記
Diffstat (limited to '.devcontainer/init.sh')
-rwxr-xr-x.devcontainer/init.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.devcontainer/init.sh b/.devcontainer/init.sh
new file mode 100755
index 0000000000..552b229fa5
--- /dev/null
+++ b/.devcontainer/init.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -xe
+
+git submodule update --init
+pnpm install --frozen-lockfile
+cp .devcontainer/devcontainer.yml .config/default.yml
+pnpm build
+pnpm migrate