rfellows commented on issue #211: NIFIREG-295 Add support for proxying via 
Apache Knox
URL: https://github.com/apache/nifi-registry/pull/211#issuecomment-520804633
 
 
   > * Would you please share exact maven commands to run backend api and 
frontend UI separately??
   
   1. Build the whole nifi-registry project as normal using maven
   2. Start nifi-registry as you normally do. Verify that it is running and you 
can access it at `http://localhost:18080/nifi-registry`
   3. cd to  `nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main` 
folder.
   4. run `npm install` to install all required js dependencies needed. BTW, 
this will change the `package.json` and `package-lock.json` files, just make 
sure to NOT check in those changes.
   5. run 'npm run watch'.
   
   The last step will compile the javascript app and fire up a web server that 
hosts just the UI and open a new browser tab/window with the dev-mode UI. This 
will be running at `http://localhost:18081/nifi-registry`. All requests for 
server-side resources are proxied to the running instance of nifi-registry. 
This will also watch the source folders for code changes and auto-rebuild as 
needed. When it is done it will refresh the UI in the browser.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to