diff --git a/Makefile b/Makefile index 16a5c15db..14d754d77 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,7 @@ stop: deploy: install yarn build + +switch: + -rm data + ln -s ./locale/${LANG} ./data diff --git a/README.md b/README.md index 3cba9be9f..4f253cbf0 100644 --- a/README.md +++ b/README.md @@ -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