Mercurial > gemma
comparison README.md @ 291:9d6ba97a31d2
Moved development infos to separate file.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 31 Jul 2018 12:47:09 +0200 |
parents | 5ee0edc01a18 |
children | fd04bccae6ca |
comparison
equal
deleted
inserted
replaced
288:4befc5868ea6 | 291:9d6ba97a31d2 |
---|---|
6 level directory of the repro. | 6 level directory of the repro. |
7 | 7 |
8 - To only (re)build the back end you can use `make gemma`. | 8 - To only (re)build the back end you can use `make gemma`. |
9 | 9 |
10 - To only build the SPA-Client you can use `make client`. | 10 - To only build the SPA-Client you can use `make client`. |
11 | |
12 For further details see [docs/DEVELOPMENT](docs/DEVELOPMENT.md), | |
11 | 13 |
12 | 14 |
13 ## Setup Database | 15 ## Setup Database |
14 | 16 |
15 - You will need a PostgreSQL cluster with PostGIS. | 17 - You will need a PostgreSQL cluster with PostGIS. |
39 --host 192.168.46.72 -p 8088 | 41 --host 192.168.46.72 -p 8088 |
40 ``` | 42 ``` |
41 | 43 |
42 - `./cmd/gemma/gemma -h` gives you an overview of more available | 44 - `./cmd/gemma/gemma -h` gives you an overview of more available |
43 options. | 45 options. |
44 | |
45 | |
46 # Manual setup | |
47 | |
48 ## Backend | |
49 | |
50 In Go. | |
51 | |
52 * Install dependencies | |
53 | |
54 `sh 3rdpartylibs` | |
55 | |
56 * Build | |
57 | |
58 Prerequesite: compile server | |
59 ``` | |
60 cd cmd/gemma/ | |
61 go build | |
62 cd ../../ | |
63 ``` | |
64 | |
65 * Run | |
66 Run server with `./cmd/gemma/gemma` | |
67 | |
68 | |
69 ## Client | |
70 | |
71 See [client/README](client/README.md). |