Skip to content

Commit

Permalink
deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
tmkontra committed Jul 6, 2020
1 parent 43b0a02 commit f2fe423
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mix deps.get --only prod
MIX_ENV=prod mix compile
cd assets && npm install && cd ..
npm run deploy --prefix ./assets
MIX_ENV=prod mix phx.digest
PORT=4001 MIX_ENV=prod elixir --erl "-detached" -S mix phx.server

0 comments on commit f2fe423

Please sign in to comment.