First you need to install nodejs
. To install it you follow the official documentation or you can use nvm.
After installing nodejs
you need to install http-server
using npm
. npm
already comes with nodejs
.
To do that run the following command:
npm install -g http-server
Just go to the tutorials directory and read the one you are interested in.
Locate under the example you wanna run and then execute http-server
.
cd examples/mostly-fluid-layout
http-server -p 8080 -a localhost -c
This will start a server at localhost:8080
that's gonna serve the content under mostly-fluid-layout
. Open your preferred browser and go to localhost:8080
to see the example.