view client/README.md @ 120:be2631b0ce7e

Merged.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 26 Jun 2018 18:29:46 +0200
parents 88d0d60924cf
children 9a5bbe9c593c
line wrap: on
line source

N.N
===

* Install dependencies
  * GO

    `sh 3rdpartylibs`

  * Javascript

    `yarn install`

* Configuration via `.env`-file

  **Example** given via `.env.sample`

  ```
  cp .env.sample .env
  ````

* Start Development servers

  * GO

    Prerequesite: compile server
    ```
    cd cmd/tokenserver/
    go build
    cd ../../
    ````

    Run server with  `./cmd/tokenserver/tokenserver`

  * Javascript

    Run webpack-dev-server with `yarn serve`

  * You could run both with

    `yarn run:both`

* Build `yarn build`

  builds the production ready assets to `web` folder.