This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new ebcda71  [AMBARI-25147] [Log Search UI] Update the development readme 
ebcda71 is described below

commit ebcda71478332de2942f2786a6cff2ed691845bb
Author: Istvan Tobias <>
AuthorDate: Thu Feb 7 20:14:33 2019 +0100

    [AMBARI-25147] [Log Search UI] Update the development readme (#72)
    * [AMBARI-25147] [Log Search UI] Update the development readme
    * [AMBARI-25147] [Log Search UI] Update the development readme - fixing 
 docs/ | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/docs/ b/docs/
index b4aba5f..0d92170 100644
--- a/docs/
+++ b/docs/
@@ -148,4 +148,27 @@ make prop-docs
 ## UI development
\ No newline at end of file
+After running `yarn install` or `npm install` you can run `npm start` or `yarn 
start` to start the dev server. So you can navigate to 
`http://localhost:4200/`. The app will automatically reload if you change any 
of the source files.
+### Webpack Development Config
+In order to use the UI you'll need a running service instance too.
+You can setup a [local development 
 or if you have running instance elsewhere you can set the proxy to that URL.
+In order to keep the main webpack config file intact we use the 
`` file so you can set a service URL proxy here.
+The content of the `` (when you have a local service with 
+const merge = require('webpack-merge');
+const baseConfig = require('./webpack.config.js');
+module.exports = merge(baseConfig, {
+  devServer: {
+    historyApiFallback: true,
+    proxy: {
+      '/api': 'http://localhost:61888/', // proxying the api requests
+      '/login': 'http://localhost:61888/', // proxying the login action
+      '/logout': 'http://localhost:61888/' // proxying the the logout action
+    }
+  }
+And you can start the client this way: `yarn start --config`

Reply via email to