Gulp deployment utilities and task templates for OneTwoSee applications
moduleexports =staging:appLocation: '/usr/local/ots/vi-redirector'symlinkLocation: '/var/www/vi-redirector'hostConnStr: 'root@staging-1'upstartName: 'ots-vi-redirector'
var gulp = ;var stagingDeployTools ='staging'argv;/*** deploy-staging** Deploys the entire application root to the staging server, excluding* the server environment.json file and a few unimportant files.*/gulp;/*** push-staging-config** Deploys the server environment file located at* ./server/environment.staging.json to the right place on* on the staging server and restarts the server.*/gulp;/*** pull-staging-config** Pulls the current server environment.json file that is in use* by the staging server and saves it to:* ./server/environment.staging.json*/gulp;