view client/README.md @ 162:9908260d1e6a

Refactor: Login expiry refactored to lib test: First unit test for session Cleaned up Code regarding expired sessions. First unit test established for session mostly for educational purposes.
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 05 Jul 2018 18:01:39 +0200
parents a719a3ba2fb4
children a6d7ee20fc96
line wrap: on
line source

N.N
===

* Install dependencies

  * Javascript

    `yarn install`

* Configuration via `.env`-file

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

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

* Start Development servers

  * Javascript

    Run webpack-dev-server with `yarn serve`

  * If you also want to start the backend, try

    `yarn run:both`

* Build `yarn build`

  builds the production ready assets to `web` folder.

* Translation
  * Extract Messages via `make makemessages`
  * Translations are converted via `make translations`