jdchmiel / soundtrack.io

Self-hosted collaborative music playing application.
2 stars 1 forks source link

run services correctly #19

Open jdchmiel opened 9 years ago

jdchmiel commented 9 years ago

How to correctly run node, mongo, redis as services with logging going to files and normal LAMP type setup vs running in a screen session and reconnecting and scrolling up. Maybe investigate puppet / vagrant to configure this for creating an instance, ie actually run this like the cloud.

jdchmiel commented 9 years ago

bash script to run node it is in home dir. cat ~/play.sh

!/bin/bash

node /soundtrack.js >> /var/log/soundtrack.log

jdchmiel commented 9 years ago

Maybe learn supervisorCTL since I know it is stable for enterprise use.