Mercurial > gemma
annotate README.md @ 9:ee6d3836014e vue-cli
current version of login
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 15 Jun 2018 13:04:07 +0200 |
parents | d97a8842c985 |
children |
rev | line source |
---|---|
3 | 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 | |
8
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
38 * You could run both with |
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
39 |
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
40 `yarn run:both` |
d97a8842c985
start front and back both concurrently
Thomas Junk <thomas.junk@intevation.de>
parents:
3
diff
changeset
|
41 |
3 | 42 * Build `yarn build` |
43 | |
44 builds the production ready assets to `web` folder. |