mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
#59 locale switch
This commit is contained in:
parent
1d300adf61
commit
6a87f0cdcd
4
Makefile
4
Makefile
@ -12,3 +12,7 @@ stop:
|
|||||||
|
|
||||||
deploy: install
|
deploy: install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
|
switch:
|
||||||
|
-rm data
|
||||||
|
ln -s ./locale/${LANG} ./data
|
||||||
|
@ -9,7 +9,7 @@ $ yarn install
|
|||||||
# configure environment
|
# configure environment
|
||||||
$ cp .env.dist .env
|
$ cp .env.dist .env
|
||||||
$ nano .env
|
$ nano .env
|
||||||
$ ln -s locale/pl data # or other locale
|
$ make switch LANG=pl
|
||||||
$ node server/initDb.js
|
$ node server/initDb.js
|
||||||
|
|
||||||
# serve with hot reload at localhost:3000
|
# serve with hot reload at localhost:3000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user