MarcoMorawec / SiB-Dev-Team

All SiB Dev Team Mojo
4 stars 0 forks source link

Github and Heroku Script from Evan Morikawa #4

Open MarcoMorawec opened 11 years ago

MarcoMorawec commented 11 years ago

rails new learntodo mv learntodo/* . cp ~/Code/Gemfile . gem install pg bundle install git init git add . git commit -m "Initial commit" curl -u 'emorikawa' https://api.github.com/user/repos -d '{"name":"learntodo"}' git remote add origin git@github.com:emorikawa/learntodo.git git push origin master heroku create git push heroku master

eudaimonious commented 11 years ago

Just used the curl successfully.

MarcoMorawec commented 11 years ago

Awesome @eudaimonious !

MarcoMorawec commented 11 years ago

Just tried to use the curl as well and messed something up so Git didn't work anymore.

Good thing Evan also told us by removing the .git and .gitignore files one can remove the entire git-tracking on a folder and start from scratch. Worked for me :)