Nessuna descrizione

James Peret: 78870fc29c Changed the timeout from 45s to 25s 10 anni fa
config 02d6128462 working server 14 anni fa
.gitignore e6cff2606d initial commit + gitignore 10 anni fa
Gemfile 7dd00fc251 specify ruby version and change to use https rubygems source 11 anni fa
Gemfile.lock 7dd00fc251 specify ruby version and change to use https rubygems source 11 anni fa
Procfile b7967d9306 working finally 14 anni fa
README.md 9bd5b2cab7 Update README.md 13 anni fa
config.ru 78870fc29c Changed the timeout from 45s to 25s 10 anni fa

README.md

Running Faye Server on Heroku Cedar stack

Clone repository

Browse to your desirable application directory:

cd to_directory

eg:

cd my_faye_server

Clone from GitHub:

git clone git://github.com/ntenisOT/Faye-Heroku-Cedar.git

Initializing git and first commit

Initialize git:

git init

Add files:

git add .

First Commit:

git commit -m "First Commit"

Creating a new app on Heroku

Install Heroku gem if you do not have already installed it:

gem install heroku

Creating a new app running on Cedar stack:

heroku create app_name --stack cedar

Push code to Heroku

Push files to Heroku:

git push heroku master

Go to you provided by Heroku link and check that your server is up add running!

YOU WILL NEED TO INCLUDE TO YOUR APPLICATION THE FOLLOWING LINKS:

http://appname.herokuapp.com/faye

http://appname.herokuapp.com/faye.js

Read More - More Examples

Faye Example Application: No need to run it on Cedar!

http://fayeexample.heroku.com/ 

Source code: 

https://github.com/ntenisOT/Faye-Example-Application 

Faye Server on Heroku Cedar without RedisToGo:

http://fayeserverexample.herokuapp.com/ 

Source code: 

https://github.com/ntenisOT/Faye-Heroku-Cedar 

Faye Server on Heroku Cedar with RedisToGo:

http://fayeredis.herokuapp.com 

Source code: 

https://github.com/ntenisOT/Faye-Heroku-Cedar-RedisToGo

References

Special Thanks

  • James Coglan - Faye Developer