#59 locale switch

This commit is contained in:
Avris 2020-09-28 20:11:51 +02:00
parent 015fc69d51
commit 6edb13406b
2 changed files with 5 additions and 1 deletions

View File

@ -12,3 +12,7 @@ stop:
deploy: install
yarn build
switch:
-rm data
ln -s ./locale/${LANG} ./data

View File

@ -9,7 +9,7 @@ $ yarn install
# configure environment
$ cp .env.dist .env
$ nano .env
$ ln -s locale/pl data # or other locale
$ make switch LANG=pl
$ node server/initDb.js
# serve with hot reload at localhost:3000