Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 915 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 915 Bytes

angular-seed — the seed for AngularJS apps

Just playing with angularjs nodejs using cloud9 (c9.io) and github

steps to start on c9.io

  1. create github project
  2. clone in c9.io
  3. install angular-seed

rm -rf * .c9 git clone --depth=1 https://github.com/angular/angular-seed.git . npm install mv package.json package.json.bak jq '.scripts.start="http-server -a $IP -p $PORT"' package.json.bak > package.json

npm start

git add .

git commit -m "First commit"

git push -u origin master

Another issue faced .c9 folder included in github to ignore

Add .gitignore file and add ".c9/" to ignore c9 folder.

Even if you haven't tracked the files so far, git seems to be able to "know" about them even after you add them to .gitignore. A quick fix that I've used was to run the following commands from the top folder of your git repo:

git rm -r --cached . git add . git commit -m "fixed untracked files"