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 /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


scl enable ondemand is equivalent to simultaneously enabling: rh-nodejs10 rh-ruby25.


For operating systems without Software Collections the scl enable ... -- portion will be unnecessary so long as the correct versions of NodeJS and Ruby are available at build time.