This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
GCLP/deploy/release.sh
2020-10-03 13:52:17 +07:00

11 lines
305 B
Shell

#!/bin/bash
cd ../lp
# git pull origin pet
mix deps.get --only prod
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