# Application not pushed to Github and Heroku

**URL:** <https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452>\
**Category:** rubyonrails-talk\
**Created:** [August 6, 2010, 9:03pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452 "2010-08-06T21:03:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 6, 2010, 9:03pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/1 "2010-08-06T21:03:59Z")

</div>

Following this tutorial : [http://railstutorial.org/chapters/static-pages#top](http://railstutorial.org/chapters/static-pages#top)

I created the hello.html file.

After that, I have done the following:

$ git push $ git push heroku

But, I couldn't see the changes neither at Github nor at Heroku. Why is that?

Thanks.

---

<div class="post-metadata">

**Author:** ![DK11](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@DK11](https://discuss.rubyonrails.org/u/DK11)\
**Post date:** [August 6, 2010, 11:04pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/2 "2010-08-06T23:04:19Z")

</div>

Hi, Try: git push heroku master

As with git I think you must specify the branch (although you can only, it seems, push master to heroku).

David

---

<div class="post-metadata">

**Author:** ![DK11](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@DK11](https://discuss.rubyonrails.org/u/DK11)\
**Post date:** [August 6, 2010, 11:06pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/3 "2010-08-06T23:06:01Z")

</div>

Also, I assumed you had but you must also Git init Git add Git commit ... In fact if you missed these steps, go to the heroku main page and they have step by step how to do this.

---

<div class="post-metadata">

**Author:** ![Luciano\_Sousa](https://avatars.discourse-cdn.com/v4/letter/l/ee7513/32.png) [@Luciano\_Sousa](https://discuss.rubyonrails.org/u/Luciano_Sousa)\
**Post date:** [August 7, 2010, 12:04am UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/4 "2010-08-07T00:04:46Z")

</div>

try:

[http://docs.heroku.com/quickstart](http://docs.heroku.com/quickstart)

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 7, 2010, 7:01am UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/5 "2010-08-07T07:01:12Z")

</div>

Thanks a lot everyone, I think maybe the issue was because I'm using Rails 3.0.0.rc, that is to Heroku:

[http://getsatisfaction.com/railstutorial/topics/deploying\_to\_heroku\_problem?utm\_content=topic\_link&utm\_medium=email&utm\_source=reply\_notification](http://getsatisfaction.com/railstutorial/topics/deploying_to_heroku_problem?utm_content=topic_link&utm_medium=email&utm_source=reply_notification)

It worked for Github. Maybe I got some steps missing, but now is working.

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 7, 2010, 11:58am UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/6 "2010-08-07T11:58:12Z")

</div>

Sorry. Regarding the solution that I said it worked I seem went to another problem.

I'm trying your suggestions.

Thanks.

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 7, 2010, 12:04pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/7 "2010-08-07T12:04:49Z")

</div>

It seems that it is still not working.

I had deployed the application here: [http://simple-window-59.heroku.com/](http://simple-window-59.heroku.com/)

You can for example view the users: [http://simple-window-59.heroku.com/users](http://simple-window-59.heroku.com/users)

At github: [http://github.com/SWEngineer/sample\_app/tree/master/public/](http://github.com/SWEngineer/sample_app/tree/master/public/)

I realized the in the "public" direcory "hello.html" is not being committed although I have it locally.

Any ideas?

---

<div class="post-metadata">

**Author:** ![DK1](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@DK1](https://discuss.rubyonrails.org/u/DK1)\
**Post date:** [August 7, 2010, 12:44pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/8 "2010-08-07T12:44:44Z")

</div>

What I would do personally is backup the project, delete the heroku app and start over following the heroku directions to a 't'. It should go flawless if you follow their dirs.

David

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 7, 2010, 12:50pm UTC](https://discuss.rubyonrails.org/t/application-not-pushed-to-github-and-heroku/53452/9 "2010-08-07T12:50:29Z")

</div>

DK wrote:

> What I would do personally is backup the project, delete the heroku app and start over following the heroku directions to a 't'. It should go flawless if you follow their dirs.
> 
> David
> 
> > committed although I have it locally. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
> 
> -- Sent from my mobile device

Yes, good idea.

Thanks.
