Mercurial > gemma
view client/README.md @ 1849:aabde3279947
client: translations: improve Makefile
* Change target `translations` to only be remade if one of
the `*.po` files changes. Technically is only directly depends
on these files. This looks like a defect in the original upstream
Makefile logic.
* Add found `*.js` files to the dependencies of the `pot` target,
because they are used when creating it. This looks like it was missed
when adding the Makefile initially with 0fd572582ab8.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 17 Jan 2019 09:48:21 +0100 |
parents | 70573eea890e |
children | 72d6fcb2147d |
line wrap: on
line source
N.N === * Install dependencies * Install (`xgettext`) tool (e.g. for Debian xgettext (GNU gettext-tools) 0.19.8.1) * Javascript `yarn install` * Extend or overwrite configuration via `.env.local`-file ``` cp .env .env.local ```` Modify `.env.local` according to your needs. * Start Development servers * Javascript Run webpack-dev-server with `yarn serve` * Build `yarn build` builds the production ready assets to `web` folder. * Build `yarn build-demo` sets the hg revision as a node env var and builds the production ready assets to `web` folder. * Translation * Extract Messages via `make makemessages` * Translations are converted via `make translations` which is executed automatically with yarn serve/build 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)