Reputation: 6005
I have been reading and following: http://eclipse-plugin.herokuapp.com/ to export my existing play applications to Heroku.
When running heroku create, git push heroku master in my terminal everything works like a charm and my project is created and I can browse it at: xxx.herokuapp.com. But when I enter Eclipse the project is not "hooked" to Heroku. E.g I'm not able to Push to Upstream
If I go the other way and import the Heroku project with Eclipse, the project is downloaded and "hookup" to Heruko but then the project is located in my git repo and not workspace.
So my question is: How do I connect my project that are located in my workspace to Heroku so that it's treated like a Eclipse Heroku app?
EDIT:
There is no share option:
Upvotes: 0
Views: 428
Reputation: 29433
To setup the project so you can do the Git operations from Eclipse, you need to do the following:
Project Explorer
and select Team
Share Project...
Git
and then Next
Finish
To upload the app to Heroku, do the following (after your changes are committed to the Git repo):
Project Explorer
and select Team
Remote
sub-menu and select Push...
Finish
Upvotes: 1