view client/README.md @ 254:de6fdb316b8f

Implemented /users/{user} GET a listing of given user.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 27 Jul 2018 12:30:19 +0200
parents 9f1b84b712a8
children f8d8f12bab91
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`

  For more information see [developer documentation](./docs/developer.md)

* Tests
  * Unit tests are started via `yarn test:unit`
  * e2e tests are started via `yarn test:e2e`

    Vue cli supports the Chrome selenium driver out of the box
    If you are interested in using the Firefox variant of the driver
    see [Vue CLI Plugin Docs](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-e2e-nightwatch)
    and see also [Nightwatch documentation](http://nightwatchjs.org/gettingstarted#geckodriver)

* Swagger API Specification

  `yarn swagger` opens the current API specification