diff --git a/bin/generate_static_front.sh b/bin/generate_static_front.sh index fb6bb6e..714e046 100644 --- a/bin/generate_static_front.sh +++ b/bin/generate_static_front.sh @@ -1,10 +1,6 @@ #!/bin/bash -if [[ -z "$REPO_DIRECTORY" ]]; then - . bin/set_url.sh -fi - -su -s /bin/bash -c "cd ${REPO_DIRECTORY} &&\ +su -s /bin/bash -c "cd ${FRONT_DIRECTORY} &&\ node --max-old-space-size=250 `which npm` install -y &&\ node --max-old-space-size=250 `which npm` run generate --prerender" www-data