Mercurial > gemma
annotate client/README.md @ 152:a719a3ba2fb4
Client README updated for translations
At present we are working with vue-gettext which requires
running make. There are two commands, one for extraction
and one for translation.
Details see Issue2
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 02 Jul 2018 14:47:22 +0200 |
parents | 9a5bbe9c593c |
children | a6d7ee20fc96 |
rev | line source |
---|---|
3 | 1 N.N |
2 === | |
3 | |
4 * Install dependencies | |
5 | |
6 * Javascript | |
7 | |
8 `yarn install` | |
9 | |
10 * Configuration via `.env`-file | |
11 | |
12 **Example** given via `.env.sample` | |
13 | |
14 ``` | |
15 cp .env.sample .env | |
16 ```` | |
17 | |
18 * Start Development servers | |
19 | |
20 * Javascript | |
21 | |
22 Run webpack-dev-server with `yarn serve` | |
23 | |
121
9a5bbe9c593c
Split README into client and toplevel.
Bernhard Reiter <bernhard@intevation.de>
parents:
13
diff
changeset
|
24 * If you also want to start the backend, try |
8
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
25 |
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
26 `yarn run:both` |
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
27 |
3 | 28 * Build `yarn build` |
29 | |
30 builds the production ready assets to `web` folder. | |
152
a719a3ba2fb4
Client README updated for translations
Thomas Junk <thomas.junk@intevation.de>
parents:
121
diff
changeset
|
31 |
a719a3ba2fb4
Client README updated for translations
Thomas Junk <thomas.junk@intevation.de>
parents:
121
diff
changeset
|
32 * Translation |
a719a3ba2fb4
Client README updated for translations
Thomas Junk <thomas.junk@intevation.de>
parents:
121
diff
changeset
|
33 * Extract Messages via `make makemessages` |
a719a3ba2fb4
Client README updated for translations
Thomas Junk <thomas.junk@intevation.de>
parents:
121
diff
changeset
|
34 * Translations are converted via `make translations` |