Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (14 sloc) 0.75 kb
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
1 This application is the message-publishing portion of the system described in [this Heroku Dev Center article](https://devcenter.heroku.com/articles/build-realtime-polyglot-node-ruby-mongodb-socketio-app).
1ccad48 @benzenwen First commit with new naming.
benzenwen authored
2
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
3 The Node.js web-component can be found at: https://github.com/mongolab/tractorpush-server
1ccad48 @benzenwen First commit with new naming.
benzenwen authored
4
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
5 #### Deploy
2909ce7 @benzenwen Readme tweaks again.
benzenwen authored
6
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
7 Create the app on Heroku and add the MongoLab add-on.
2909ce7 @benzenwen Readme tweaks again.
benzenwen authored
8
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
9 ```term
10 $ heroku create -s cedar tp-writer
11 $ heroku addons:add mongolab
12 ```
2909ce7 @benzenwen Readme tweaks again.
benzenwen authored
13
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
14 Next, [configure the required MongoDB capped collection](https://devcenter.heroku.com/articles/build-realtime-polyglot-node-ruby-mongodb-socketio-app#configure_mongodb_capped_collection).
2909ce7 @benzenwen Readme tweaks again.
benzenwen authored
15
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
16 Then deploy to Heroku and scale the `worker` process.
2909ce7 @benzenwen Readme tweaks again.
benzenwen authored
17
03971ff @rwdaigle Update README to reference article and include deployment instructions
rwdaigle authored
18 ```term
19 $ git push heroku master
20 $ heroku ps:scale worker=1
21 ```
Something went wrong with that request. Please try again.