Rebuild synteny-vis

From CoGepedia
Revision as of 11:22, 11 October 2016 by Mbomhoff (Talk | contribs) (Created page with " Ensure Node is at correct version curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs Ensure depencies are installed cd /opt/apa...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ensure Node is at correct version

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

Ensure depencies are installed

cd /opt/apache2/coge/web/js/vendor/synteny-vis
npm install

Build for development

npm run build

Build for production

npm run build-production