mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
(make) remove data symlink
This commit is contained in:
parent
766281714d
commit
991a2f76e5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
/data
|
|
||||||
/locale/*/db.sqlite
|
/locale/*/db.sqlite
|
||||||
|
|
||||||
/db.sqlite
|
/db.sqlite
|
||||||
|
@ -34,10 +34,6 @@ check:
|
|||||||
echo -e "\033[0;31m$name failed with exit code $exit_code\033[0m"; failures+=("$name");
|
echo -e "\033[0;31m$name failed with exit code $exit_code\033[0m"; failures+=("$name");
|
||||||
};
|
};
|
||||||
script:
|
script:
|
||||||
- start_section "Setup language version"
|
|
||||||
- make switch LANG=en
|
|
||||||
- end_section
|
|
||||||
|
|
||||||
- start_section "Install Dependencies"
|
- start_section "Install Dependencies"
|
||||||
# temporarily replace FontAwesomePro dependency with its fake version as the CI can’t access it
|
# temporarily replace FontAwesomePro dependency with its fake version as the CI can’t access it
|
||||||
# the name needs to be changed in both package.json and pnpm-lock.yaml
|
# the name needs to be changed in both package.json and pnpm-lock.yaml
|
||||||
|
3
Makefile
3
Makefile
@ -39,7 +39,8 @@ deploy: install
|
|||||||
switch:
|
switch:
|
||||||
rm -rf cache
|
rm -rf cache
|
||||||
rm -rf .nuxt/cache
|
rm -rf .nuxt/cache
|
||||||
ln -sfn ./locale/${LANG} ./data
|
sed -Ei s/NUXT_PUBLIC_LOCALE=.+/NUXT_PUBLIC_LOCALE=${LANG}/ .env
|
||||||
|
echo 'Please remember to restart the dev server to make the language switch visible'
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
pnpm run-file server/migrate.ts
|
pnpm run-file server/migrate.ts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user