Install OnDemand Core Applications

Note

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 /var/www/ood/apps/sys/$APP:

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

Note

scl enable ondemand is equivalent to simultaneously enabling: rh-nodejs6 rh-ruby24.

Note

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.