git clone git@github.com:robotics-in-concert/rocon_cento.git
cd rocon-cento/app
mrt
# Setup nodesource repository
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
# Then install
sudo apt-get install -y nodejs
$ sudo npm install npm -g
# Check npm version is 2.x.x
$ npm -v
sudo npm install -g meteorite
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
>> sudo apt-get update
>> sudo apt-get install ant -y
>> 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/
<interface name="management">
<inet-address value="0.0.0.0"/>
</interface>
<interface name="public">
<inet-address value="0.0.0.0"/>
</interface>
<interface name="unsecure">
<inet-address value="0.0.0.0"/>
</interface>
>> ant install.demo.noeclipse
>> ant start.demo.noeclipse
>> ant stop.demo
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