- Ruby (>2.2.0) installed via
rvm - MongDB
- ports
22and9292should be reachable by you
- Install required gems:
bundle install - Set env vars:
export SERVER_IP=<ip_address># public IP address of the target hostexport REPO_NAME=<account/name># repo name to fetch the code from, e.g. Artemmkin/redditexport DEPLOY_USER=deploy # username used to connect via SSH- Deploy using capistrano:
bundle exec cap production deploy:initial