server:true
This commit is contained in:
parent
9101b7f6ae
commit
310fa6828d
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Reference in a new issue