Mercurial > gemma
annotate client/README.md @ 158:992e17912405
feat: Improve login against real db
In order to log into our real db, we need to consume
the new JSON document consuming experies, username, roles, etc.
Token is stored securly in browser session.
Other data is stored in vue store.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 03 Jul 2018 16:18:29 +0200 |
parents | a719a3ba2fb4 |
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` |