Skip to content

Commit

Permalink
install npm as sudo, we'll change the owner in a minute anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Nov 2, 2023
1 parent a30be1a commit a5de1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/after_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5de1b6

Please sign in to comment.