Make sure the following are installed:
- NodeJS and Node Package Manager, which is part of the NodeJS installation (download)
- Grunt, a JavaScript task runner (installed via NPM:
npm install grunt
)
Run the following commands to get everything installed.
sudo npm install
(You might not need to sudo this - but you might need to sudo this. If you try it without sudo and it fails, do arm -rf node_modules
, then try again with sudo)grunt serve
The app will start up on localhost:9000.
As you make changes locally, Grunt's livereload plugin watches your target directories and automatically updates the running application, refreshing the page as changes are detected.