Skip to content

Dev Deployment at WHOI

Rich Signell edited this page Sep 9, 2016 · 3 revisions

The WHOI deployment is at: http://gamone.whoi.edu/terriajs/, deployed via:

ssh gamone.whoi.edu
sudo su - usgs
cd /home/usgs/github
git clone https://my.usgs.gov/bitbucket/scm/cdi/terriajs-dive.git
cd terriajs-dive
git checkout staging
npm install  
# the install process then complained about reactjs not being up to date or something.  
# Conferred with Kevin Ring who told me to merge TerriaMap#newui

git remote add terriamap https://github.com/TerriaJS/TerriaMap.git
git fetch terriamap && git merge terriamap/newui
rm -rf node_modules/terriajs
sudo vi package.json
# changed the line in package.json for terriajs to the colorScaleRange branch
#      "terriajs": "git://github.com/TerriaJS/terriajs.git#colorScaleRange",
npm install
gulp
npm start
Clone this wiki locally