1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-09 00:42:47 +00:00

update readme for prod build

This commit is contained in:
2018-01-16 22:18:10 -06:00
parent 657d3284e7
commit 5ea73ce0d7
3 changed files with 18 additions and 6 deletions

View File

@@ -19,12 +19,11 @@ Ready to run in production? Please [check our deployment guides](http://www.phoe
- `mix ecto.migrate`
## Production
Running app
`PORT=80 MIX_ENV=prod mix phx.server`
- when creating prod database
- `MIX_ENV=prod mix ecto.create`
- `MIX_ENV=prod mix ecto.migrate`
- `MIX_ENV=prod mix ecto.create`
- `MIX_ENV=prod mix ecto.migrate`
- `PORT=80 MIX_ENV=prod mix run priv/repo/seeds.exs`
- `PORT=80 MIX_ENV=prod mix phx.server`
# Installing Elixir on C9
```

View File

@@ -24,3 +24,17 @@ config :myapp, MyApp.Repo,
config :myapp, MyApp.Guardian,
issuer: "myapp",
secret_key: "secret"
config :myapp,
bnet_client_id: "",
bnet_client_secret: "",
bnet_redirect_uri: "",
# admin login credentials for site
admin_accounts: [%{
"username" => "",
"password" => "",
"character_name" => "",
"character_avatar" => "",
"permissions" => ""
}]

View File

@@ -208,4 +208,3 @@ Enum.each(accounts, fn (user) ->
end)
end)