Mercurial > gemma
comparison client/README.md @ 121:9a5bbe9c593c
Split README into client and toplevel.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 27 Jun 2018 10:50:09 +0200 |
parents | 88d0d60924cf |
children | a719a3ba2fb4 |
comparison
equal
deleted
inserted
replaced
120:be2631b0ce7e | 121:9a5bbe9c593c |
---|---|
1 N.N | 1 N.N |
2 === | 2 === |
3 | 3 |
4 * Install dependencies | 4 * Install dependencies |
5 * GO | |
6 | |
7 `sh 3rdpartylibs` | |
8 | 5 |
9 * Javascript | 6 * Javascript |
10 | 7 |
11 `yarn install` | 8 `yarn install` |
12 | 9 |
18 cp .env.sample .env | 15 cp .env.sample .env |
19 ```` | 16 ```` |
20 | 17 |
21 * Start Development servers | 18 * Start Development servers |
22 | 19 |
23 * GO | |
24 | |
25 Prerequesite: compile server | |
26 ``` | |
27 cd cmd/tokenserver/ | |
28 go build | |
29 cd ../../ | |
30 ```` | |
31 | |
32 Run server with `./cmd/tokenserver/tokenserver` | |
33 | |
34 * Javascript | 20 * Javascript |
35 | 21 |
36 Run webpack-dev-server with `yarn serve` | 22 Run webpack-dev-server with `yarn serve` |
37 | 23 |
38 * You could run both with | 24 * If you also want to start the backend, try |
39 | 25 |
40 `yarn run:both` | 26 `yarn run:both` |
41 | 27 |
42 * Build `yarn build` | 28 * Build `yarn build` |
43 | 29 |