From a5de1b6e6f8553bfc71adc7574c4e422b7c6b755 Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Thu, 2 Nov 2023 10:09:58 -0400 Subject: [PATCH] install npm as sudo, we'll change the owner in a minute anyway --- scripts/after_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/after_install.sh b/scripts/after_install.sh index 552532d..f05f290 100644 --- a/scripts/after_install.sh +++ b/scripts/after_install.sh @@ -33,7 +33,7 @@ sudo -H -u datamade $VENV_DIR/bin/pip install --upgrade setuptools sudo -H -u datamade $VENV_DIR/bin/pip install -r $PROJECT_DIR/requirements.txt --upgrade # Install JS dependencies -( cd $PROJECT_DIR && sudo -H -u datamade npm install ) +( cd $PROJECT_DIR && npm install ) # OPTIONAL Run migrations and other management commands that should be run with # every deployment