Open NathanHazout opened 9 years ago
I have ours deployed on Cloud Foundry (over at http://community.emccode.com), I'm sure you can find some cheap/free accounts there.
I think just starting a nodejs server on any cloud (AWS-FreeTier, Azure Trial, OpenShift) would be enough. Then, run npm install -g slackin; slackin <domain> <token>
and you're good to go.
I have deployed Slackin on Openshift and it's fine. Unlike Heroku, Openshift has no hours/day limits.
@kumarharsh using it in this way is running, but as I log out from ssh, it stops. Is there any way to use pm2 or forever to run slackin?
yeah, I guess you can use something like nohup
Thanks @kumarharsh, at the end we used start-stop-daemon
@nasht00 Practically speaking, what happens when the 16-hour limit on Heroku is reached?
Does that mean that the app will reboot on the next user's request and take about 15-30 seconds to load or does it mean that the user will be out of luck and can' get in for another 8 hours?
@LucasCioffi it means the app will be offline for another 8 hours (if the app really was active for 16 straight hours).
By the way, my solution was Bluemix.
I'm working on a Deploy to Azure button at the moment over with this PR https://github.com/rauchg/slackin/pull/124. What I have so far will setup continuous delivery from the slackin Git repo to an Azure Web App (free tier). The limits on the free tier are similar to Heroku -- sleep during a period of inactivity and a maximum compute time.
Has anyone installed Slackin on other cloud platforms? (App Engine maybe?) The free heroku has the whole 16 hours per day limit...