prod secret. don't do that

This commit is contained in:
Maygician 2020-10-03 12:27:12 +07:00
commit dd807c55dc
4 changed files with 19 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# commands from dev env should work.
# you'd need to add prod database to env, like this (don't use this exact one)
# export DATABASE_URL=ecto://postgres:postgres@localhost/gclp_dev
# export DATABASE_URL=ecto://postgres:postgres@localhost/lp_dev
# and gen a secret:
export SECRET_KEY_BASE=`mix phx.gen.secret`
# open ports you want to use for prod in firewall rules(instance settings)
@ -26,3 +26,5 @@ cd lp
mix deps.get
mix deps.compile
mix ecto.create
# fetch prod.exs config file