Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster b66590f976
Update linkwarden.sh
add `yarn playwright install`
2024-08-05 17:09:26 -04:00
tteckster 4a1e02a9ab
Update linkwarden-install.sh
add `yarn playwright install`
2024-08-05 17:06:48 -04:00
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
git pull git pull
yarn yarn
npx playwright install-deps npx playwright install-deps
yarn playwright install
yarn prisma generate yarn prisma generate
yarn build yarn build
yarn prisma migrate deploy yarn prisma migrate deploy

View File

@ -74,6 +74,7 @@ RELEASE=$(curl -s https://api.github.com/repos/linkwarden/linkwarden/releases/la
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
$STD yarn $STD yarn
$STD npx playwright install-deps $STD npx playwright install-deps
$STD yarn playwright install
IP=$(hostname -I | awk '{print $1}') IP=$(hostname -I | awk '{print $1}')
SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)" SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"
env_path="/opt/linkwarden/.env" env_path="/opt/linkwarden/.env"