Permalink
Browse files

updated readme

  • Loading branch information...
1 parent 4bbc2ab commit c9c902a8ca04a021fe3f121605c12fcbe8784971 @rkononov committed Mar 21, 2012
Showing with 30 additions and 26 deletions.
  1. +0 −26 README
  2. +30 −0 README.markdown
View
26 README
@@ -1,26 +0,0 @@
-Getting Started
----------------
-
-1 Set up proper credentials in config.ini (iron_worker,iron_mq and s3)
-2 Deploy to Phpfog or CloudControl
-3 Add any picture to IronMQ queue or in input box
-4 Wait until picture processed
-5 Profit!
-
-How to install app on clouds:
------------------------------
-
-a) AppFog
-a.1)Configure Appfog app as described here : http://dev.appfog.com/features/article/getting_started_custom_application
-a.2)Copy all files from this repo to appfog application folder
-a.3)Set proper credentials in config.ini
-a.4)Redeploy appfog app
-
-b)CloudControl
-b.1)Install cctrlapp: sudo easy_install cctrl
-b.2)Create new dir and copy all files from this repo to new dir
-b.3)Set proper credentials in config.ini
-b.4)Create app: cctrlapp APP_NAME create php
-b.5)Push app:cctrlapp APP_NAME/DEP_NAME push
-b.6)Deploy app:cctrlapp APP_NAME/DEP_NAME deploy
-.......
View
@@ -0,0 +1,30 @@
+#Getting Started
+
+1. Set up proper credentials in config.ini (iron_worker,iron_mq and s3)
+2. Deploy to Phpfog or CloudControl
+3. Add any picture to IronMQ queue or in input box
+4. Wait until picture processed
+5. Profit!
+
+##How to install app on clouds:
+
+###AppFog
+- Create new Appfog cloud and new app
+- Clone Appfog app - 'git clone git_appgfog_path' (check Source Code section of Appfog)
+- Clone this repo 'git clone https://github.com/rkononov/php_example.git'
+- Copy all files from this repo folder to appfog application folder - 'cp php_example/* your_appfog_folder/ -r'
+- Set proper credentials in config.ini (you could get token and project_id from hud.iron.io)
+- Redeploy appfog app - 'git add -A;git commit -m "first deploy";git push'
+- Open your app url in browser (you should see smth like this http://imageworkerdemo.phpfogapp.com/)
+
+###CloudControl
+- Install cctrlapp: 'sudo easy_install cctrl'
+- Make folder for cloudcontrol app - 'mkdir cloudcontrol_app_folder'
+- Clone this repo 'git clone https://github.com/rkononov/php_example.git'
+- Copy all files from this repo folder to cloudcontrol_app_folder - 'cp php_example/* cloudcontrol_app_folder/ -r'
+- Set proper credentials in config.ini (you could get token and project_id from hud.iron.io)
+- Create app -'cd cloudcontrol_app_folder;cctrlapp APP_NAME create php'
+- Commit app - 'cd cloudcontrol_app_folder;git add -A;git commit -m "first deploy"
+- Push app - 'cd cloudcontrol_app_folder;cctrlapp APP_NAME/DEP_NAME push'
+- Deploy app - 'cd cloudcontrol_app_folder;cctrlapp APP_NAME/DEP_NAME deploy'
+- Open your app url in browser (you should see smth like this http://iron2.cloudcontrolled.com/)

0 comments on commit c9c902a

Please sign in to comment.