Difference between revisions of "Rebuild synteny-vis"
From CoGepedia
(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...") |
m |
||
Line 1: | Line 1: | ||
− | Ensure Node is at correct version | + | Ensure Node is at correct version (only need to do this once) |
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | sudo apt-get install -y nodejs | ||
− | Ensure depencies are installed | + | Ensure depencies are installed (only need to do this once) |
cd /opt/apache2/coge/web/js/vendor/synteny-vis | cd /opt/apache2/coge/web/js/vendor/synteny-vis | ||
npm install | npm install |
Revision as of 11:22, 11 October 2016
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
npm run build
Build for production
npm run build-production