Skip to content

Instantly share code, notes, and snippets.

View manishdas's full-sized avatar

Manish Das manishdas

View GitHub Profile
@manishdas
manishdas / cf line create
Created August 30, 2011 10:26
cf line create
○ cd cloudfactory_line
○ cf line create
Creating new assembly line: cloudfactory-line
Adding InputFormats
input email
input location
input photo
Adding Station 1: WorkStation
worker 1 Cloud Worker with reward of 2 cent
○ cf production add_units --run-title=run_title --input-data=file_path/file.csv
"sucessfully added 2 units, failed :0"!
○ cf login
Enter your email: sprout@sprout-technology.com
Enter the password: ************
Now you're logged in.
To get started, run cf help
@manishdas
manishdas / cf help
Created August 30, 2011 10:23
cf help
○ cf help
Tasks:
cf form # Commands to generate custom task forms. For more info, cf form help
cf help [TASK] # Describe available tasks or one specific task
cf line # Commands to manage the Lines. For more info, cf line help
cf login # Setup the cloudfactory credentials
cf output <run-title> # Get the output of run. For more info, cf output help
cf production # Commands to create production runs. For more info, cf production help
cf version # Shows the current version of cloudfactory gem

○ cf line delete !!! Warning !!! The following are the existing production runs based on this line.

  Showing page 1 of 1 (Total runs: 4)

  +-------------------------+--------------------------------------------------------------------+
  | Run Title               | URL                                                                |
  +-------------------------+--------------------------------------------------------------------+

| manish-11aug26-163957 | http://manish.cloudfactory.com/runs/manish/manish-11aug26-163957 |

  ○ cf production list


  Showing page 1 of 2 (Total runs: 28)

  +--------------------------------------+---------------------------------------------------------------------------------+
  | Run Title                            | URL                                                                             |
  +--------------------------------------+---------------------------------------------------------------------------------+
  | adding_units_error_run_1             | http://manish.cloudfactory.com/runs/manish/adding_units_error_run_1             |

| blah-11aug26-163752 | http://manish.cloudfactory.com/runs/manish/blah-11aug26-163752 |

@manishdas
manishdas / cf line generate cloudfactory_line
Created August 30, 2011 10:25
cf line generate cloudfactory_line
○ cf line generate cloudfactory_line
Generating cloudfactory_line/line.yml
create cloudfactory_line/line.yml
create cloudfactory_line/station_2/form.css
create cloudfactory_line/station_2/form.html
create cloudfactory_line/station_2/form.js
create cloudfactory_line/input/cloudfactory-line.csv
A new line named cloudfactory_line generated.
Modify the cloudfactory_line/line.yml file and you can create this line with: cf line create
@manishdas
manishdas / cf production start
Created August 30, 2011 10:27
cf production start
○ cf production start
Creating a production run with title cloudfactory-line-11aug23-175935
Run created successfully.
View your production at:
http://manish.manish.lvh.me:3000/runs/manish/cloudfactory-line-11aug23-175935/workerpool_preview
 ○ cf line details 


  The following is the structure of the line: cloudfactory_line

  {
              "title" => "cloudfactory_line",
        "description" => "A shiny new assembly line ready for you to customize. Right now it is finding people dates (uncomment and try for fun) but you should just replace everything below accordingly for your line.",
         "department" => "Web Research",

"code" => 200,

○ cf line list


Showing page 1 of 2 Total lines: 37
+-----------------------+-------------------------------------------------------------------+
| Line Title            | URL                                                               |
+-----------------------+-------------------------------------------------------------------+
| adding_units_error_1  | http://manish.cloudfactory.com/lines/manish/adding_units_error_1  |
| manish                | http://manish.cloudfactory.com/lines/manish/manish                |

| manish0 | http://manish.cloudfactory.com/lines/manish/manish0 |