Mercurial > gemma
diff client/README.md @ 13:88d0d60924cf
Move vuejs app into subdir `client`
Using a subdirectory for the web application keeps more structure
in the repo.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 20 Jun 2018 17:02:06 +0200 |
parents | README.md@d97a8842c985 |
children | 9a5bbe9c593c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/README.md Wed Jun 20 17:02:06 2018 +0200 @@ -0,0 +1,44 @@ +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.