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

View file

@ -35,7 +35,7 @@ config :lp, LpWeb.Endpoint,
# If you are doing OTP releases, you need to instruct Phoenix
# to start each relevant endpoint:
#
# config :lp, LpWeb.Endpoint, server: true
config :lp, LpWeb.Endpoint, server: true
#
# Then you can assemble a release by calling `mix release`.
# See `mix help release` for more information.