diff --git a/src/Umbraco.Web.UI.Client/docs/html/readme.html b/src/Umbraco.Web.UI.Client/docs/html/readme.html index 20830e7ae8..226d3a25d1 100644 --- a/src/Umbraco.Web.UI.Client/docs/html/readme.html +++ b/src/Umbraco.Web.UI.Client/docs/html/readme.html @@ -114,11 +114,12 @@
The super fast introduction to getting belle running on your local machine, both as a pre-built environment, and with the full setup with unit-tests, grunt-tasks and node.
Right-click the /build folder and choose "open in webmatrix", run the website in webmatrix and browse to localhost:xxxx/Belle/, this should display the Belle login screen
Right-click the /build folder and choose "open in webmatrix", run the website in webmatrix and browse to localhost:9999/Belle/, this should display the Belle login screen
Port 9999 should be used because that is the target site that the grunt build command mentioned below will launch
Open a terminal inside the "/build" folder and run the command:
-python -m SimpleHTTPServer 8080
-This will start a local webserver, hosting the site on localhost:8080 browse to localhost:8080/Belle/ which should display the belle login screen.
python -m SimpleHTTPServer 9999
+This will start a local webserver, hosting the site on localhost:9999 browse to localhost:9999/Belle/ which should display the belle login screen.
The dev environment is tad more tricky to get running, since it depends on a number of unit tests and automated tools, to produce the contents of the /build folder
The dev environment is cross platform, so will work on both osx and windows, and do not currently have any dependencies to .net
@@ -137,11 +138,10 @@note: On OSX you might need to run:
sudo npm install grunt-cli -g
Now that you have node and grunt installed, you can open /Umbraco.Belle.Client in either cmd.exe or terminal and run:
grunt
-This will build the site, merge less files, run tests and create the /Build folder.
+grunt dev
+This will build the site, merge less files, run tests and create the /Build folder, launch the web browser and monitor changes.
If you prefer to do test-driven developement, or just dont want to manually run grunt on every change, you can simply tell grunt to watch for any changes made in the project, by running:
grunt watch
+grunt dev will continue to run in the background monitoring changes to files. When changes are detected it will rebuild the JS and also run the unit tests.