A website boilerplate, with the following features
- Twitter Bootstrap (from H5BP initializer)
- GruntJS - with Sass, Livereload, and JSHint support
- Testing - with karma and jasmine
Also see generator-starttter for a yeoman generator.
Start the server
grunt
View the site at http://localhost:7770, or your local (internal) ip address (useful for testing on other devices). You can also run
grunt open
To run the site on another port, use the port
flag eg, grunt --port=3000
To run the site using a different livereload port (default is 35729
), use the lrp
flag, eg, grunt --lrp=35720
. Use this to prevent this error: Fatal error: Port 35729 is already in use by another process.
Karma is run automatically when grunt
is called. To run it manually
karma start
Created by Tak Tran (ttt).