prod secret. don't do that
This commit is contained in:
parent
0969da9ef9
commit
dd807c55dc
4 changed files with 19 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Reference in a new issue