Mercurial > gemma
view client/README.md @ 21:d16f799e0469
Configure Webpack to put its output to web-folder
Since the frontendcode sits under /client, the output of the webpack build
should go under a toplevel folder. Currently this is "web"
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 21 Jun 2018 12:39: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.