mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 04:10:39 +01:00
17 lines
499 B
Bash
Executable file
17 lines
499 B
Bash
Executable file
#!/bin/bash
|
|
|
|
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
|
|
git config --global --add safe.directory /workspace
|
|
git submodule update --init
|
|
corepack install
|
|
corepack enable
|
|
pnpm config set store-dir /home/node/.local/share/pnpm/store
|
|
pnpm install --frozen-lockfile
|
|
cp .devcontainer/devcontainer.yml .config/default.yml
|
|
pnpm build
|
|
pnpm migrate
|
|
pnpm exec cypress install
|