need to install -avidemux-cli- sudo apt-get install avidemux-cli lxsplit mencoder handbrakecli sudo add-apt-repository ppa:stebbins/handbrake-release sudo apt-get update sudo apt-get install handbrake-cli ffmpeg x264 https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide # fix flv yamdi libreoffice-writer # split pdf http://documentcloud.github.com/docsplit/ # graphicsmagick poppler-utils tesseract-ocr # or http://www.pdflabs.com/docs/pdftk-cli-examples/ sudo apt-get install pdftk s3cmd - client for s3, must be setup on each server (mac, ubuntu) sudo apt-get install s3cmd s3cmd --configure # enter keys of bucket which shared between mac & ubuntu # install swftools: sudo add-apt-repository ppa:guilhem-fr/swftools sudo apt-get update sudo apt-get install swftools ############################################# Start/Restart production environment: # start god (monitoring server) # re/start Resque god restart resque # start Sphinx server RAILS_ENV=production rake ts:run # (re)start ortodontics360 (placed in /etc/init/) # see also http://blog.daviddollar.org/2011/05/06/introducing-foreman.html sudo (re)start orthodontics360 1. start/restart server: ########################################################################### cd projects/Orthodontics360 git pull origin master rake db:migrate RAILS_ROOT="." RAILS_ENV=production god -c resque.god god restart resque sudo start orthodontics360 RAILS_ENV=production rake ts:run whenever 2 start/restart env RAILS_ENV=production rake assets:clean && rake assets:precompile god restart resque sudo restart orthodontics360