This repo contains a simplified boilerplate to start a project with grunt, angular and bootstrap in order to make easier and faster the template's developing
Developed following the best practice for Angular.js (https://github.com/johnpapa/angular-styleguide), in anticipation of the arrival of Angular 2
Before cloning the repo be sure you have installed:
- NodeJs & npm (version >= 4.2.2)
- Grunt (latest version)
- Bower (latest version)
- Sass (latest version)
- Choose a folder project in your system and switch in
cd [folder path]
- Clone the repo in your folder
git clone https://ibbatta@bitbucket.org/ibbatta/my-boilerplate.git
To install the npm repositories and bower packages run (from the directory of the project): npm install && bower install
Once everything is installed, use grunt from the terminal to start the build tasks. The Gruntfile expose these tasks:
grunt server
(start the project locally)grunt dist
(minify js, html and css files)grunt clean
(clean / remove tmp, dist and bower's component folders)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Prepare images for dist
- Write tests
- Automate changelog updates
This boilerplate is not ready for production yet