Skip to content

Commit

Permalink
Fix script to add OpenStudio Node Path to /var/lib/stickshift/5329ab5…
Browse files Browse the repository at this point in the history
…e5973cae2580003cc/app-root/data/.nix-profile/bin:/var/lib/stickshift/5329ab5e5973cae2580003cc/app-root/data/.nada-nix-profile/bin:/nix/store/cykrpgbzq15bzwg4f7g0v7d7a6x9fjnl-lftp-4.4.5/bin:/var/lib/stickshift/5329ab5e5973cae2580003cc/app-root/data/.nada-nix-profile/bin:/var/lib/stickshift/5329ab5e5973cae2580003cc/app-root/data/611043/node_modules/.bin:/var/lib/stickshift/5329ab5e5973cae2580003cc/app-root/data/bin:/var/lib/stickshift/5329ab5e5973cae2580003cc/app-root/data/lib/ruby/gems/bin:/usr/libexec/openshift/cartridges/c9-0.1/root/lib/ruby/gems/bin:/opt/rh/ruby193/root/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin
  • Loading branch information
joshwentz committed Apr 10, 2014
1 parent f9f6b9f commit 6a6523a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions installers/install-openstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ dpkg -i OpenStudio-1.3.0.e09fcf487f-Nodejs-Linux.deb
sudo apt-get install libgl1-mesa-glx -y
sudo apt-get install xvfb

#ADD OPENSTUDIO NODE MODULES TO $PATH
#ADD OPENSTUDIO NODE MODULES TO $PATH FOR YOUR LOGIN
export NODE_PATH=/usr/local/lib/openstudio/node
PATH=$PATH:/usr/local/lib/openstudio/node
sudo echo “export NODE_PATH=/usr/local/lib/openstudio/node” >> /etc/profile
sudo echo “export PATH=$PATH:$NODE_PATH>> /etc/profile
sudo echo “export NODE_PATH=/usr/local/lib/openstudio/node” >> /etc/environment
sudo echo “export PATH=$PATH:$NODE_PATH>> /etc/environment
sudo -s
sudo echo 'export NODE_PATH=/usr/local/lib/openstudio/node' >> /etc/profile
sudo echo 'export PATH=$PATH:$NODE_PATH' >> /etc/profile

#ADD OPENSTUDIO NODE MODULES TO $PATH FOR ROOT
sudo -i
export NODE_PATH=/usr/local/lib/openstudio/node
PATH=$PATH:/usr/local/lib/openstudio/node
sudo echo 'export NODE_PATH=/usr/local/lib/openstudio/node' >> /etc/environment
sudo echo 'export PATH=$PATH:$NODE_PATH' >> /etc/environment

0 comments on commit 6a6523a

Please sign in to comment.