diff --git a/deploy/rel.sh b/deploy/rel.sh index 866d94b..1f980f1 100644 --- a/deploy/rel.sh +++ b/deploy/rel.sh @@ -12,8 +12,8 @@ echo 'export PORT=443' >> ~/.bashrc fi # and cert paths if [ -z "$GCLP_SSL_KEY_PATH"]; then -echo 'export GCLP_SSL_KEY_PATH=GCLP/lp/priv/cert/selfsigned_key.pem' >> ~/.bashrc +echo 'export GCLP_SSL_KEY_PATH=/GCLP/lp/priv/cert/selfsigned_key.pem' >> ~/.bashrc fi if [ -z "$GCLP_APP_SSL_CERT_PATH"]; then -echo 'export GCLP_APP_SSL_CERT_PATH=GCLP/lp/priv/cert/selfsigned.pem' >> ~/.bashrc +echo 'export GCLP_APP_SSL_CERT_PATH=/GCLP/lp/priv/cert/selfsigned.pem' >> ~/.bashrc fi \ No newline at end of file diff --git a/deploy/release.sh b/deploy/release.sh index 23e0510..b9e0c14 100644 --- a/deploy/release.sh +++ b/deploy/release.sh @@ -7,5 +7,5 @@ npm install --prefix ./assets npm run deploy --prefix ./assets mix phx.digest # once you have something js related MIX_ENV=prod mix release -_build/prod/rel/lp/bin/lp start +sudo _build/prod/rel/lp/bin/lp start # note, that it is running in terminal