Rebuild synteny-vis

From CoGepedia
Revision as of 11:23, 11 October 2016 by Mbomhoff (Talk | contribs)

Jump to: navigation, search

Ensure Node is at correct version (only need to do this once)

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

Ensure depencies are installed (only need to do this once)

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

Build for development

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

Build for production

cd /opt/apache2/coge/web/js/vendor/synteny-vis
npm run build-production