server:true

This commit is contained in:
Maygician 2020-10-03 13:52:17 +07:00
commit 310fa6828d
2 changed files with 5 additions and 3 deletions

View file

@ -1,9 +1,11 @@
#!/bin/bash
cd ../lp
git pull origin pet
# git pull origin pet
mix deps.get --only prod
mix phx.digest # once you have something js related
MIX_ENV=prod mix compile
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
# note, that it is running in terminal