# Application not pushed to Github and Heroku

**URL:** <https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849>\
**Category:** Rails\
**Created:** [August 6, 2010, 11:03pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849 "2010-08-06T23:03:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 6, 2010, 11:03pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/1 "2010-08-06T23: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:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 1:05am UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/2 "2010-08-07T01:05:21Z")

</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

On 8/6/10, Abder-Rahman A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> But, I couldn’t see the changes neither at Github nor at Heroku. Why is  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid.  
> 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

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 1:07am UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/3 "2010-08-07T01:07:07Z")

</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.

On 8/6/10, Abder-Rahman A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> But, I couldn’t see the changes neither at Github nor at Heroku. Why is  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid.  
> 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

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 2:06am UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/4 "2010-08-07T02:06:12Z")

</div>

try:

> **[Getting Started on Heroku | Heroku Dev Center](https://devcenter.heroku.com/start)**
>
> Step-by-step guides for deploying your first app and mastering the basics of Heroku

2010/8/6 David K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> > Thanks.  
> > For more options, visit this group at  
> > To post to this group, send email to removed\_email\_address@domain.invalid.  
> > To unsubscribe from this group, send email to  
> > removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > .  
> > 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).

–  
att: Luciano S.  
[http://www.lucianosousa.net](http://www.lucianosousa.net)  
[http://www.lucianosousa.net](http://www.lucianosousa.net)[http://twitter.com/lucianosousa](http://twitter.com/lucianosousa)  
\*Ruby on Rails Developer  
\*Linux User #456387  
\*Contato: (21) 7639-5049

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 9:01am UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/5 "2010-08-07T09: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:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 1:58pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/6 "2010-08-07T13: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:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 2:04pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/7 "2010-08-07T14: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:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 2:46pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/8 "2010-08-07T14:46:28Z")

</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

On 8/7/10, Abder-Rahman A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> committed although I have it locally.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid.  
> 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

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 7, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/application-not-pushed-to-github-and-heroku/192849/9 "2010-08-07T14: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
> 
> On 8/7/10, Abder-Rahman A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > committed although I have it locally.  
> > To post to this group, send email to removed\_email\_address@domain.invalid.  
> > To unsubscribe from this group, send email to  
> > removed\_email\_address@domain.invalid.  
> > 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.
