Skip to content

andjosh/nchan-heroku

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

nchan-heroku

One-button deploy NCHAN to Heroku. Clicking the deploy button will create a Heroku app with the nchan-buildpack preconfigured for you!

Deploy

This will run NCHAN with a publisher route at /pub and a subscriber route at /sub. See example pub/sub usage:

# start a subscriber connection
curl <your-url>/sub?id=foobar   # id query parameter is the channel

# somewhere else:
curl <your-url>/pub?id=foobar -X POST --data 'hello'
# then, see the message delivered to your open connection!

About

One-button deploy NCHAN to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages