EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

StrongLoop OpenShift offine-sync TEST

1. https://developers.openshift.com/en/getting-started-client-tools.html#ubuntu

2. http://docs.strongloop.com/display/SL/OpenShift

3.http://xxxx-xxxxx.rhcloud.com/
  http://xxxx-xxxxx.rhcloud.com/explorer/

http://strongloop.com/strongblog/node-js-rest-api-openshift-redhat/?utm_source=tuicool

old : loopback :http://loopback.io/
new : http://strongloop.com/
===========
rhc create-app sl https://raw.github.com/strongloop/openshift-cartridge-strongloop/master/metadata/manifest.yml

rhc show-app xxxxx 查相關資訊
rhc show-app xxxxx --gears quota    查空間
===========
update to openshift, need to install local npm and strongloop
*ubuntu *
1. curl -sL https://deb.nodesource.com/setup | sudo bash -
2. sudo apt-get install nodejs  https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
3. npm install -g strongloop
===========
ALL in LOCAL:
slc loopback:datasource myMongoDB    this is local, not on openshift

if local no file, use rhc git-clone to get file in local. *ps.1

use mongodb : sudo npm install loopback-connector-mongodb --save

** mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/    ......this can't use, please login openshit, then command line:
>echo $OPENSHIFT_MONGODB_DB_HOST
>echo $OPENSHIFT_MONGODB_DB_PORT


  • git mothod  : in local app directory

>git init
>git add -A
>git commit -a -m "Initial Commit"

>git commit -a -m "msg about commit"
>git remote add openshift <remote_git_url>
>git push --force openshift master


ps:
1. if local file failed, use command: rhc git-clone xxx   :: xxx -> app name
2. http://www.codeproject.com/Articles/746155/Deploying-MongoDB-and-Node-js-application-on-OpenS
3. http://docs.mongodb.org/ecosystem/platforms/red-hat-openshift/
-------------
http://strongloop.com/node-js/studio-beta/