Command Line Utility
The BitBalloon gem comes with a handy command line utility for deploying and redeploying sites.
To install the gem run:
gem install bitballoon
To deploy the site in the current working directory:
bitballoon deploy
The first time you deploy, you will be asked for your client id and client secret. After the deploy the tool will store an access_token and the site_id in .bitballoon. Next time you run the command the tool will redeploy the site using the stored access_token.
You can also deploy a specific path:
bitballoon deploy /path/to/my/site
Or a zip file:
bitballoon deploy /path/to/my/site.zip
If there is no .bitballoon file yet, you can deploy to an existing site by passing in the ID:
bitballoon deploy /path/to/my/site.zip --site-id YOUR_SITE_ID