New version of cloud 9: how to deploy the hero

How to deploy a web application to a hero in the new version of cloud9? There was a deploy button in the previous version but not found in the new version

+6
source share
4 answers

In the new version of Cloud9, we do not yet have support for deployment from the user interface, but we will add these features soon. In the meantime, we recommend using the command line from the integrated terminal, as described on our documentation website: https://docs.c9.io/deploying_via_cli.html

+8
source

In addition to the guidelines posted above by Ivar, you may need additional steps.

To deploy Rails you need to:

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

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

2) Uninstall SQLite and add Postgresql

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

+2
source

I noticed this too, but I already configured my deployment using snap-ci.com, and it takes about a minute, and when you go to your repository, you can deploy it for the hero for you. I know that this does not exactly answer your question, but it is a very simple alternative. I would add that along the way, if you need additional deployment steps, you already partially participate there if you use the CI system.

0
source

I managed to do this using the c9 command line, as there were some problems with the proxy server that I could not understand on my local computer.

0
source

Source: https://habr.com/ru/post/973271/


All Articles