Application not pushed to Github and Heroku

Following this tutorial :
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.

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. [email protected] wrote:

But, I couldn’t see the changes neither at Github nor at Heroku. Why is
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Sent from my mobile device

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. [email protected] wrote:

But, I couldn’t see the changes neither at Github nor at Heroku. Why is
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Sent from my mobile device

try:

2010/8/6 David K. [email protected]

Thanks.
For more options, visit this group at
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


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

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

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

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

I’m trying your suggestions.

Thanks.

It seems that it is still not working.

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

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

At github: 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?

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. [email protected] wrote:

committed although I have it locally.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Sent from my mobile device

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. [email protected] wrote:

committed although I have it locally.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Sent from my mobile device

Yes, good idea.

Thanks.