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.
- Start the gateway and microservices
nf start
- Start a webserver e.g journeys
nx run journeys:serve
- In your local browser navigate to http://localhost:4100
Here is a list of the webservers:
App | Shell command | URL |
---|---|---|
Gateway and Microservices | nf start | |
Journeys | nx run journeys:serve:development --inspect-brk | http://localhost:4100 |
Journeys Admin | nx run journeys:serve:development | http://localhost:4200 |
Watch | nx run watch:serve:development --inspect-brk | http://localhost:4300 |
Docs | nx run docs:serve | http://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.)