I am trying to clone a project from github, then configure bower and grunt build / dev dependencies. When angular projects are initialized in github, some directories and files have been dumped (as they are specified in the gitignore file). I am trying to figure out how to resurrect all of these files needed to run a project locally (which I find from viewing on github).
After cloning the project, I run the bower command so that it reads through bower.json:
% bower install
Then I run the grunt commands:
% npm install -g grunt-cli % npm install grunt
Why is Gruntfile.js not created automatically when these terminal commands are run?
It also freezes up on a boot issue, but which evaporates after I run them:
% npm install --save-dev connect-livereload % npm install
When I start a project from scratch using these yoman and grunt commands, it automatically creates Gruntfile.js, and I can successfully run the project to load automatically in the browser:
% npm install -g generator-angular % yo angular % bower install angular-ui % npm install
But I'm trying to master the technique of cloning a project from github and then locally create the project. I am close, but currently I am also experiencing a problem with missing Gruntfile.js. I would be very grateful for any direction you could provide. All the best,
Ben
source share