Skip to content

Latest commit

 

History

History
131 lines (96 loc) · 3.01 KB

README.md

File metadata and controls

131 lines (96 loc) · 3.01 KB

cento_server

Quick Start

git clone git@github.com:robotics-in-concert/rocon_cento.git
cd rocon-cento/app
mrt

Pre-requisites

Install node / npm

  • 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

Install meteorite

sudo npm install -g meteorite

Run on a private machine

"Your Client Secret" }) ```

  • Run

ROOT_URL=Your URL:Port MONGO_URL=mongodb://localhost:27017/cento mrt

jbpm

Install

  • 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.
    1. Change the interfaces section: make all three of “management”, “public” and “unsecure” interfaces bind to “0.0.0.0”.
``` 1. Change *deployment-timeout* to "1200" - Install jbpm server and start ``` >> ant install.demo.noeclipse >> ant start.demo.noeclipse ``` - Stop jbpm server ``` >> ant stop.demo ```

Backup / Restoration

Mongodb

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