Skip to main content

On Local Machine

As an example we are going to run through the steps to get the Next Steps Journey project running in your web browser.

  1. Start the gateway and microservices
nf start
  1. Start a webserver e.g journeys
nx run journeys:serve
  1. In your local browser navigate to http://localhost:4100

Here is a list of the webservers:

AppShell commandURL
Gateway and Microservicesnf start
Journeysnx run journeys:serve:development --inspect-brkhttp://localhost:4100
Journeys Adminnx run journeys:serve:developmenthttp://localhost:4200
Watchnx run watch:serve:development --inspect-brkhttp://localhost:4300
Docsnx run docs:servehttp://localhost:3000

In the above commands, the --inspect-brk parameters are optional; you need to use this parameter if you want to be able to use the debugger in your browser (Google Chrome). (There are further steps to be done to set up debugging in your browser; they can be found in the Wiki under How to setup debugging in React.)