Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Ensure that node modules can be installed
Browse files Browse the repository at this point in the history
The target folder for node modules as required by the
ID service does not necesarily belong to the user running
vagrant. Make sure to set ownership appropriately.

Signed-off-by: Wolfgang Mauerer <wolfgang.mauerer@oth-regensburg.de>
  • Loading branch information
Wolfgang Mauerer committed Oct 26, 2018
1 parent f0a72e2 commit 1b3781e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration-scripts/install_codeface_node.sh
Expand Up @@ -6,6 +6,8 @@ echo "Providing id_service"

sudo DEBIAN_FRONTEND=noninteractive apt-get -qqy install npm
cd id_service
sudo mkdir node_modules
sudo chown vagrant.vagrant node_modules
npm set ca null
npm install --no-bin-links
cd ..

0 comments on commit 1b3781e

Please sign in to comment.