Kunal Khandelwal
Kunal Khandelwal

Reputation: 193

new version cloud 9 : how to deploy to heroku

How to deploy a web application to heroku in new version of cloud9 ? The previous version had the deploy button, but cannot be found in new version

Upvotes: 6

Views: 7264

Answers (4)

William
William

Reputation: 45

In addition to the directions that Ivar published above you may need some additional steps.

For Rails deployment you need to:

1) Add your SSH key via the command line to heroku using: $ heroku keys:add

Source: https://devcenter.heroku.com/articles/keys

2) Remove SQLite and add Postgresql

Directions and source: https://devcenter.heroku.com/articles/sqlite3

Upvotes: 2

Kunal Khandelwal
Kunal Khandelwal

Reputation: 193

I managed to do it via c9 command line as there were some proxy issues which I couldn't figure out in my local computer.

Upvotes: 0

Ivar Pruijn
Ivar Pruijn

Reputation: 393

In the new version of Cloud9 we don't have support for deployment from the UI yet unfortunately, but we're going to add those features soon. In the meantime, we recommend using the command line from the built-in terminal, as described on our documentation site here: https://docs.c9.io/deploying_via_cli.html

Upvotes: 8

Paul Wade
Paul Wade

Reputation: 601

I noticed this too but I have already setup my deployment using snap-ci.com it takes about a minute and when you check into your repository snap-ci will deploy it to heroku for you. I know it doesn't exactly answer your question but its a very simple alternative. I would add that down the road if you need additional deployment steps you are already part way there if you use a CI system.

Upvotes: 0

Related Questions