view README.md @ 10:361ae8211991 vue-cli

refactored to component local state
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 18 Jun 2018 12:11:35 +0200
parents d97a8842c985
children
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.