Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 29th, 2012  |  syntax: None  |  size: 4.43 KB  |  views: 141  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. dhcp-16-206:OSApps sumana$ rhc-create-app -a phpmongotweet -t php-5.3
  2. Password: ************
  3.  
  4. Creating application: phpmongotweet in sannam
  5. Now your new domain name is being propagated worldwide (this might take a minute)...
  6. Checking if the application is available #1
  7. Application phpmongotweet is available at: http://phpmongotweet-sannam.rhcloud.com/
  8.   Git URL: ssh://edc5f09769f54d968739b8fb76087dc6@phpmongotweet-sannam.rhcloud.com/~/git/phpmongotweet.git/
  9. Successfully created application: phpmongotweet
  10. dhcp-16-206:OSApps sumana$ rhc-ctl-app -a phpmongotweet -e add-mongodb-2.0
  11. Password: ************
  12.  
  13.  
  14. RESULT:
  15.  
  16. MongoDB 2.0 database added.  Please make note of these credentials:
  17.  
  18.        Root User: admin
  19.    Root Password: _QnfYTb2rAU6
  20.    Database Name: phpmongotweet
  21.  
  22. Connection URL: mongodb://127.4.168.1:27017/
  23.  
  24. You can manage your new MongoDB by also embedding rockmongo-1.1
  25.  
  26. dhcp-16-206:OSApps sumana$ mongo
  27. -bash: mongo: command not found
  28. dhcp-16-206:OSApps sumana$ mongodb://127.4.168.1:27017/
  29. -bash: mongodb://127.4.168.1:27017/: No such file or directory
  30. dhcp-16-206:OSApps sumana$ cd phpmongotweet
  31. dhcp-16-206:phpmongotweet sumana$ git remote add upstream -m master git://github.com/openshift/phpmongotweet-example.git
  32. dhcp-16-206:phpmongotweet sumana$
  33. dhcp-16-206:phpmongotweet sumana$ git pull -s recursive -X theirs upstream master
  34. warning: no common commits
  35. remote: Counting objects: 59, done.
  36. remote: Compressing objects: 100% (51/51), done.
  37. remote: Total 59 (delta 18), reused 44 (delta 3)
  38. Unpacking objects: 100% (59/59), done.
  39. From git://github.com/openshift/phpmongotweet-example
  40.  * branch            master     -> FETCH_HEAD
  41. Auto-merging php/index.php
  42. Auto-merging README
  43. Auto-merging .openshift/markers/README
  44. Merge made by the 'recursive' strategy.
  45.  .openshift/markers/README        |    4 -
  46.  .project                         |   11 +
  47.  README                           |   11 +-
  48.  README.md                        |   33 +++
  49.  php/common.php                   |   58 +++++
  50.  php/css/styles.css               |  192 +++++++++++++++
  51.  php/css/tipTip.css               |  113 +++++++++
  52.  php/images/bg_header.jpg         |  Bin 0 -> 1792 bytes
  53.  php/images/bullet1.gif           |  Bin 0 -> 55 bytes
  54.  php/images/bullet2.gif           |  Bin 0 -> 262 bytes
  55.  php/images/icon-search.png       |  Bin 0 -> 1921 bytes
  56.  php/images/latest_tweet_icon.png |  Bin 0 -> 538 bytes
  57.  php/images/load.png              |    1 +
  58.  php/images/twitter.jpeg          |  Bin 0 -> 2208 bytes
  59.  php/index.php                    |  304 +++++++++++------------
  60.  php/load-tweets.php              |   94 ++++++++
  61.  php/scripts/jquery-1.7.1.min.js  |    4 +
  62.  php/scripts/jquery.tipTip.js     |  191 +++++++++++++++
  63.  php/scripts/sorttable.js         |  493 ++++++++++++++++++++++++++++++++++++++
  64.  19 files changed, 1349 insertions(+), 160 deletions(-)
  65.  create mode 100644 .project
  66.  create mode 100644 README.md
  67.  create mode 100644 php/common.php
  68.  create mode 100644 php/css/styles.css
  69.  create mode 100644 php/css/tipTip.css
  70.  create mode 100644 php/images/bg_header.jpg
  71.  create mode 100644 php/images/bullet1.gif
  72.  create mode 100644 php/images/bullet2.gif
  73.  create mode 100644 php/images/icon-search.png
  74.  create mode 100644 php/images/latest_tweet_icon.png
  75.  create mode 120000 php/images/load.png
  76.  create mode 100644 php/images/twitter.jpeg
  77.  create mode 100644 php/load-tweets.php
  78.  create mode 100644 php/scripts/jquery-1.7.1.min.js
  79.  create mode 100644 php/scripts/jquery.tipTip.js
  80.  create mode 100644 php/scripts/sorttable.js
  81. dhcp-16-206:phpmongotweet sumana$
  82. dhcp-16-206:phpmongotweet sumana$ git push
  83. Counting objects: 63, done.
  84. Delta compression using up to 8 threads.
  85. Compressing objects: 100% (53/53), done.
  86. Writing objects: 100% (55/55), 54.87 KiB, done.
  87. Total 55 (delta 22), reused 0 (delta 0)
  88. remote: Stopping application...
  89. remote: Waiting for stop to finish
  90. remote: Done
  91. remote: ~/git/phpmongotweet.git ~/git/phpmongotweet.git
  92. remote: ~/git/phpmongotweet.git
  93. remote: Running .openshift/action_hooks/pre_build
  94. remote: Running .openshift/action_hooks/build
  95. remote: Running .openshift/action_hooks/deploy
  96. remote: Starting application...
  97. remote: MongoDB already running
  98. remote: Done
  99. remote: Running .openshift/action_hooks/post_deploy
  100. To ssh://edc5f09769f54d968739b8fb76087dc6@phpmongotweet-sannam.rhcloud.com/~/git/phpmongotweet.git/
  101.    f656cc7..830b0d7  master -> master
  102. dhcp-16-206:phpmongotweet sumana$
  103. dhcp-16-206:phpmongotweet sumana$
clone this paste RAW Paste Data