Install OnDemand Core Applications¶
The OnDemand team is in the process of moving core applications to a monolithic repository which will significantly simplify installation.
OnDemand’s core applications are stored in their own Github repositories and should each be cloned to
- ood-myjobs :
Each application has its own dependencies which need to be installed (from either NPM or Ruby Gems) by running the following:
cd /var/www/ood/apps/sys/$APP # We have both Node and Rails applications, let's cover both in a single command sudo NODE_ENV=production RAILS_ENV=production scl enable ondemand -- bin/setup
scl enable ondemandis equivalent to simultaneously enabling: rh-nodejs6 rh-ruby24.
For operating systems without Software Collections the
scl enable ... --portion will be unnecessary so long as the correct versions of NodeJS, Ruby and Git are available at build time.