Creating a Curriculum vitae webpage, using Boostrap CSS and development tools.
-
Download and install Node.js -it allows to run JavaScript outside of the browser- to get npm:
-
Use npm to install yeoman (project skeletons generator - scaffolding), bower (web dependencies manager) and grunt (task runner):
$ npm install -g yo bower grunt-cli
- Use npm to install the desired yeoman generator:
$ npm install -g generator-webapp
- Download and install GitHub Windows to get yo
- Create project folder in the default GitHub directory
Example: C:\Users\melissa.voirol\Documents\GitHub\monCV
- Open Git Shell from your project directory:
Use yeoman generator to scaffold a new application:
$ yo webapp
Select Bootstrap
-
Suscribe a GitHub account
-
Create a new repository
Example: melissavoirol.github.io
- Open Git Shell from your project directory:
$ grunt build
- Go to C:\Users\melissa.voirol\Documents\GitHub\melissavoirol.github.io
- Copy the dist directory content from C:\Users\melissa.voirol\Documents\GitHub\monCV\dist
- Start the server:
$ grunt serve
Edit a file and watch livereload in action.
- Stop the server:
ctrl+c