Skip to content

Instantly share code, notes, and snippets.

@bgadrian
Created March 16, 2015 17:04
Show Gist options
  • Save bgadrian/8a40923e9863c0a754f2 to your computer and use it in GitHub Desktop.
Save bgadrian/8a40923e9863c0a754f2 to your computer and use it in GitHub Desktop.
AppFog update app from windows
#put this in a ./.git/hooks/ file, like post-update
#exec update.appfog.bat
#update.appfog.bat content
::activate ruby
/E:ON /K e:\Ruby200-x64\bin\setrbvars.bat
::move to application location
cd server/
call af login --email [email protected] --password blank123
::timeout /t 60
call af update appfogname
::timeout /t 60
echo finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment