dhcp-16-206:OSApps sumana$ rhc-create-app -a phpmongotweet -t php-5.3
Password: ************
Creating application: phpmongotweet in sannam
Now your new domain name is being propagated worldwide (this might take a minute)...
Checking if the application is available #1
Application phpmongotweet is available at: http://phpmongotweet-sannam.rhcloud.com/
Git URL: ssh://edc5f09769f54d968739b8fb76087dc6@phpmongotweet-sannam.rhcloud.com/~/git/phpmongotweet.git/
Successfully created application: phpmongotweet
dhcp-16-206:OSApps sumana$ rhc-ctl-app -a phpmongotweet -e add-mongodb-2.0
Password: ************
RESULT:
MongoDB 2.0 database added. Please make note of these credentials:
Root User: admin
Root Password: _QnfYTb2rAU6
Database Name: phpmongotweet
Connection URL: mongodb://127.4.168.1:27017/
You can manage your new MongoDB by also embedding rockmongo-1.1
dhcp-16-206:OSApps sumana$ mongo
-bash: mongo: command not found
dhcp-16-206:OSApps sumana$ mongodb://127.4.168.1:27017/
-bash: mongodb://127.4.168.1:27017/: No such file or directory
dhcp-16-206:OSApps sumana$ cd phpmongotweet
dhcp-16-206:phpmongotweet sumana$ git remote add upstream -m master git://github.com/openshift/phpmongotweet-example.git
dhcp-16-206:phpmongotweet sumana$
dhcp-16-206:phpmongotweet sumana$ git pull -s recursive -X theirs upstream master
warning: no common commits
remote: Counting objects: 59, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 59 (delta 18), reused 44 (delta 3)
Unpacking objects: 100% (59/59), done.
From git://github.com/openshift/phpmongotweet-example
* branch master -> FETCH_HEAD
Auto-merging php/index.php
Auto-merging README
Auto-merging .openshift/markers/README
Merge made by the 'recursive' strategy.
.openshift/markers/README | 4 -
.project | 11 +
README | 11 +-
README.md | 33 +++
php/common.php | 58 +++++
php/css/styles.css | 192 +++++++++++++++
php/css/tipTip.css | 113 +++++++++
php/images/bg_header.jpg | Bin 0 -> 1792 bytes
php/images/bullet1.gif | Bin 0 -> 55 bytes
php/images/bullet2.gif | Bin 0 -> 262 bytes
php/images/icon-search.png | Bin 0 -> 1921 bytes
php/images/latest_tweet_icon.png | Bin 0 -> 538 bytes
php/images/load.png | 1 +
php/images/twitter.jpeg | Bin 0 -> 2208 bytes
php/index.php | 304 +++++++++++------------
php/load-tweets.php | 94 ++++++++
php/scripts/jquery-1.7.1.min.js | 4 +
php/scripts/jquery.tipTip.js | 191 +++++++++++++++
php/scripts/sorttable.js | 493 ++++++++++++++++++++++++++++++++++++++
19 files changed, 1349 insertions(+), 160 deletions(-)
create mode 100644 .project
create mode 100644 README.md
create mode 100644 php/common.php
create mode 100644 php/css/styles.css
create mode 100644 php/css/tipTip.css
create mode 100644 php/images/bg_header.jpg
create mode 100644 php/images/bullet1.gif
create mode 100644 php/images/bullet2.gif
create mode 100644 php/images/icon-search.png
create mode 100644 php/images/latest_tweet_icon.png
create mode 120000 php/images/load.png
create mode 100644 php/images/twitter.jpeg
create mode 100644 php/load-tweets.php
create mode 100644 php/scripts/jquery-1.7.1.min.js
create mode 100644 php/scripts/jquery.tipTip.js
create mode 100644 php/scripts/sorttable.js
dhcp-16-206:phpmongotweet sumana$
dhcp-16-206:phpmongotweet sumana$ git push
Counting objects: 63, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (53/53), done.
Writing objects: 100% (55/55), 54.87 KiB, done.
Total 55 (delta 22), reused 0 (delta 0)
remote: Stopping application...
remote: Waiting for stop to finish
remote: Done
remote: ~/git/phpmongotweet.git ~/git/phpmongotweet.git
remote: ~/git/phpmongotweet.git
remote: Running .openshift/action_hooks/pre_build
remote: Running .openshift/action_hooks/build
remote: Running .openshift/action_hooks/deploy
remote: Starting application...
remote: MongoDB already running
remote: Done
remote: Running .openshift/action_hooks/post_deploy
To ssh://edc5f09769f54d968739b8fb76087dc6@phpmongotweet-sannam.rhcloud.com/~/git/phpmongotweet.git/
f656cc7..830b0d7 master -> master
dhcp-16-206:phpmongotweet sumana$
dhcp-16-206:phpmongotweet sumana$