- install nodejs, mongodb
- prepare mongodb seed data
db.meteor_accounts_loginServiceConfiguration.insert({
"_id" : "Arbitary Value like(S5mtDCFeruAAEgSnC)",
"service" : "github", "clientId" : "Your Client ID",
"secret" :"Your Client Secret" })
-
create
DEPLOY_PATH
:mkdir DEPLOY_PATH
-
clone cento repo to
PROJECT ROOT/git
:cd DEPLOY_PATH
git clone [email protected]:robotics-in-concert/rocon_cento.git git
-
install forever :
npm install forever -g
-
install meteor :
curl https://install.meteor.com | /bin/sh
-
install metorite :
npm install meteorite -g
- create
deploy/config
filecp deploy/config.sample deploy/config
- edit
deploy/config
- run
deploy.sh
- edit code
- git commit and push
- run
./deploy.sh