diff --git a/.devcontainer/devcontainer.yml b/.devcontainer/devcontainer.yml index d35cdab0d0..449d95e693 100644 --- a/.devcontainer/devcontainer.yml +++ b/.devcontainer/devcontainer.yml @@ -6,7 +6,7 @@ #───┘ URL └───────────────────────────────────────────────────── # Final accessible URL seen by a user. -url: http://127.0.0.1:3000/ +url: http://cherrypick.local/ # ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE # URL SETTINGS AFTER THAT! diff --git a/.devcontainer/init.sh b/.devcontainer/init.sh index e02a533c15..d8007c63f9 100755 --- a/.devcontainer/init.sh +++ b/.devcontainer/init.sh @@ -4,7 +4,7 @@ set -xe sudo chown node node_modules sudo apt-get update -sudo apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb +sudo apt-get -y install ffmpeg libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb git config --global --add safe.directory /workspace git submodule update --init corepack install @@ -12,6 +12,7 @@ corepack enable pnpm config set store-dir /home/node/.local/share/pnpm/store pnpm install --frozen-lockfile cp .devcontainer/devcontainer.yml .config/default.yml +[ ! -L .config/test.yml ] && ln -s default.yml .config/test.yml pnpm build pnpm migrate pnpm exec cypress install