git clone [email protected]:robotics-in-concert/rocon_cento.git
cd rocon-cento/app
mrt
- install ndoejs
# Setup nodesource repository
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install
sudo apt-get install -y nodejs
- upgrade npm
$ sudo npm install npm -g
# Check npm version is 2.x.x
$ npm -v
sudo npm install -g meteorite
-
Register application to Github (https://github.com/settings/applications)
-
Fill Homepage URL and Authorization callback URL form:
- Homepage URL: http://localhost:3000
- Authorization callback URL: http://localhost:3000/_oauth/github?close
-
Connect to mongoDB and insert login service configuration
use cento db.meteor_accounts_loginServiceConfiguration.insert({ "_id" : "Arbitary Value like(S5mtDCFeruAAEgSnC)", "service" : "github", "clientId" : "Your Client ID", "secret" :
"Your Client Secret" }) ```
- Run
ROOT_URL=Your URL:Port MONGO_URL=mongodb://localhost:27017/cento mrt
- Install ant if necessary.
>> sudo apt-get update
>> sudo apt-get install ant -y
- Download jbpm full installer from sourceforge, using the direct link and unzip.
>> wget http://downloads.sourceforge.net/project/jbpm/jBPM%205/jbpm-5.4.0.Final/jbpm-5.4.0.Final-installer-full.zip
>> unzip jbpm-5.4.0.Final-installer-full.zip
>> cd jbpm-installer/
- Edit build.xml to change the property jboss.bind.address to “0.0.0.0”.
- Edit standalone.xml two part.
- Change the interfaces section: make all three of “management”, “public” and “unsecure” interfaces bind to “0.0.0.0”.
See Back Up and Restore with MongoDB Tools
-
backup
mongodump --host localhost:27017 --db DBNAME --out DUMP_PATH
-
restore
mongorestore --host localhost:27017 DUMP_PATH
-
example
$ mongodump --host localhost:27017 --db meteor-cento --out /tmp/dump
connected to: localhost:27017
2015-03-19T17:23:24.015+0900 DATABASE: cento to /tmp/dump/meteor-cento
$ mongorestore --host localhost:27017 /tmp/dump
connected to: localhost:27017