AngularJs Boilerplate with grunt
Its a kickstart for those who are looking for a nice and simple project setup in angularjs, grunt, bootsrap.
Clone this repo and install both package.json and bower.json to build a basic front-end development setup. This boilerplate was made in requirement for a project I'm doing which was running python/Django.
_ the sass compiler needs Ruby and Sass gem_
Install Ruby for Linux(apt (Debian or Ubuntu)):
sudo apt-get install ruby-full
Install Ruby for Linux(yum (CentOS, Fedora, or RHEL)):
sudo yum install ruby
After Installing Ruby , install the Sass ruby gem.
gem install sass
Install Node Modules:
npm install
Install Bower Components:
bower install
Build the project:
grunt build
- All of your JS and Dependancy(Angular, Bootstra,...) goes in "src/js", and your SCSS/SASS goes in "src/css" and your HTML goes in "src/partials".
- During build process, the scss is converted to css and then concated, the same is for js, its also concated.
- The partial will be moved to "templates/ui".
you can always chage these directory and build process from the Gruntfile.js
- Fork it (https://github.com/vishnucr/cied-angularjs-grunt/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request