naggie / MLDASH

Winter 2011/2012: Real time monitoring dashboard
Apache License 2.0
1 stars 0 forks source link

deployment for hss-reporter #12

Open naggie opened 12 years ago

naggie commented 12 years ago

normal deployment with forever and git for all reporter servers

naggie commented 12 years ago

some servers have different network devices, so set with env var NDEV=eth1 etc (implemented)

naggie commented 12 years ago

either use git + cron + forever or wget + cron + forever

naggie commented 12 years ago

or a bash script that downloads the python files, runs them for 1 day then kills, re-downloads and starts again (only if changed)

also kill on ctrl+c.

could even be python script I guess.

naggie commented 12 years ago

can use curl to run directly into bash or python. That way deployment would be as simple as one command that runs as long as you let it.

naggie commented 12 years ago

https://github.com/blog/1270-easier-builds-and-deployments-using-git-over-https-and-oauth to keep using a private repo