Project

app_fog

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Wrapping the app fog CLI into a gem to help you deploy more easily. Don't forget to install the af CLI using 'gem install af'. You can only update and start at the moment. Tweet @ruby_gem if you want more, or fork the code.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

app_fog_gem

is a wrapper around the app fog command line interface. It's a slightly nicer way of deploying to app fog in your scripts.

Ensure you have installed the af gem - https://docs.appfog.com/getting-started/af-cli

Currently logs you in when you create the appfog object, you can then update and start the app. Currently on updates from the location where you're running the script from.

Please tweet @ruby_gem with any problems or requests, contributions welcome.

Installation

gem install af the app fog cli needs to be installed first - https://docs.appfog.com/getting-started/af-cli

gem install app_fog or put require 'app_fog' in your Gemfile.

Usage

require 'app_fog'

task :default do
	your_username = 'your_email'
	your_password = 'your_super_secret_password'
	app_name = 'name_of_your_app_fog_app'

	appfog = AppFog.new(username: your_username, password: your_password)
	appfog.update(app_name)
	appfog.start(app_name)
end