Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 867 Bytes

DEPLOY.md

File metadata and controls

36 lines (27 loc) · 867 Bytes

Deployment Instruction

cold deploy

Server

  1. install nodejs, mongodb
  2. prepare mongodb seed data
db.meteor_accounts_loginServiceConfiguration.insert({
	"_id" : "Arbitary Value like(S5mtDCFeruAAEgSnC)",
	"service" : "github", "clientId" : "Your Client ID", 
	"secret" :"Your Client Secret" })
  1. create DEPLOY_PATH : mkdir DEPLOY_PATH

  2. clone cento repo to PROJECT ROOT/git :

    1. cd DEPLOY_PATH
    2. git clone [email protected]:robotics-in-concert/rocon_cento.git git
  3. install forever : npm install forever -g

  4. install meteor : curl https://install.meteor.com | /bin/sh

  5. install metorite : npm install meteorite -g

Local

  1. create deploy/config file
    1. cp deploy/config.sample deploy/config
    2. edit deploy/config
  2. run deploy.sh

warm deploy

  1. edit code
  2. git commit and push
  3. run ./deploy.sh