view client/README.md @ 450:f8d8f12bab91

client: Remove swagger remains. * Remove swagger mention from README, remove components needed for swagger and dependencies. These were left from removing swagger bd96611a7555. While doing so yarn.lock is also slightly updated.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 22 Aug 2018 10:02:46 +0200
parents 9f1b84b712a8
children 5b7a4327f6c0
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)