Mercurial > gemma
comparison README.md @ 3:1597506a2241 vue-cli
merge with vue-cli
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 13 Jun 2018 10:57:57 +0200 |
parents | |
children | d97a8842c985 |
comparison
equal
deleted
inserted
replaced
2:9c6f68a8e8b2 | 3:1597506a2241 |
---|---|
1 N.N | |
2 === | |
3 | |
4 * Install dependencies | |
5 * GO | |
6 | |
7 `sh 3rdpartylibs` | |
8 | |
9 * Javascript | |
10 | |
11 `yarn install` | |
12 | |
13 * Configuration via `.env`-file | |
14 | |
15 **Example** given via `.env.sample` | |
16 | |
17 ``` | |
18 cp .env.sample .env | |
19 ```` | |
20 | |
21 * Start Development servers | |
22 | |
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 | |
35 | |
36 Run webpack-dev-server with `yarn serve` | |
37 | |
38 * Build `yarn build` | |
39 | |
40 builds the production ready assets to `web` folder. |