Rebuild synteny-vis: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
sudo apt-get install -y nodejs | sudo apt-get install -y nodejs | ||
Ensure depencies are installed | Update synteny-vis package | ||
cd /opt/apache2/coge | |||
bower update synteny-vis | |||
Ensure depencies are installed | |||
cd /opt/apache2/coge/web/js/vendor/synteny-vis | cd /opt/apache2/coge/web/js/vendor/synteny-vis | ||
npm install | npm install | ||
Build for development | Build for development | ||
cd /opt/apache2/coge/web/js/vendor/synteny-vis | |||
npm run build | npm run build | ||
Build for production | Build for production | ||
cd /opt/apache2/coge/web/js/vendor/synteny-vis | |||
npm run build-production | npm run build-production |
Latest revision as of 17:25, 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
Update synteny-vis package
cd /opt/apache2/coge bower update synteny-vis
Ensure depencies are installed
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