Sha256: 22c34eff0d33f4e311fbced73e01acf053d26ec3ed5c610e6f361547b2266cd7

Contents?: true

Size: 1.93 KB

Versions: 5

Compression:

Stored size: 1.93 KB

Contents

Heroku Addon
==========

RhoConnect is now available for those using <a href='http://heroku.com' target='_blank'>Heroku</a> as an addon.  



Adding RhoConnect from Heroku
-----------------------
To use RhoConnect from Heroku, install the RhoConnect add-on:

	:::term
	$ heroku addons:add rhoconnect
	
###Setup

From inside your heroku account, setup the url to your backend service that RhoConnect will connect to.

First, click the addons drop down and select rhoconnect.
<p><img src='https://s3.amazonaws.com/rhodocs/rhoconnect-service/addon_rhoconnect.png' width="479" height="319"/></p>

You will be redirected to the admin console of your RhoConnect instance where you can set the backend app url.  Select Backend App Url from the right menu.
<p><img src='https://s3.amazonaws.com/rhodocs/rhoconnect-service/console.png' width="800" height="280"/></p>


From here you can enter a url to your backend service.  Enter a url (for example http://myrailsapp.com), and click the add link to save the url.

RhoConnect is now setup with your backend service.  

Connecting a simple rhodes app
-------------------------------
To view a full tutorial about creating a rhodes application and the features of rhodes see [Rhodes framework](http://docs.rhomobile.com/rhodes/tutorial).

###Gem installation:

	:::ruby
	[sudo] gem install rhodes

Next using the rhodes gem you can create a rhodes app.   

	:::ruby
    rhodes app sample_app url_of_rhoconnect_instance
	
To get the value for the url_of_rhoconnect_instance argument, go to the RhoConnect console and click on the right Backend App URL link.  From there you can copy the syncserver url.

<p><img src='https://s3.amazonaws.com/rhodocs/rhoconnect-service/console.png' width="800" height="280"/></p>  
 

----
[RhoConnect Introduction](http://docs.rhomobile.com/rhosync/introduction)

[RhoConnect Installation](http://docs.rhomobile.com/rhosync/install)

[RhoConnect Tutorial](http://docs.rhomobile.com/rhosync/tutorial)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rhoconnect-3.0.2 doc/heroku-addon.txt
rhoconnect-3.0.1 doc/heroku-addon.txt
rhoconnect-3.0.0 doc/heroku-addon.txt
rhoconnect-3.0.0.rc1 doc/heroku-addon.txt
rhoconnect-3.0.0.beta3 doc/heroku-addon.txt