mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-10 09:02:50 +00:00
update readme for prod build
This commit is contained in:
@@ -19,12 +19,11 @@ Ready to run in production? Please [check our deployment guides](http://www.phoe
|
|||||||
- `mix ecto.migrate`
|
- `mix ecto.migrate`
|
||||||
|
|
||||||
## Production
|
## 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.create`
|
- `MIX_ENV=prod mix ecto.migrate`
|
||||||
- `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
|
# Installing Elixir on C9
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -24,3 +24,17 @@ config :myapp, MyApp.Repo,
|
|||||||
config :myapp, MyApp.Guardian,
|
config :myapp, MyApp.Guardian,
|
||||||
issuer: "myapp",
|
issuer: "myapp",
|
||||||
secret_key: "secret"
|
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" => ""
|
||||||
|
}]
|
||||||
|
|||||||
@@ -208,4 +208,3 @@ Enum.each(accounts, fn (user) ->
|
|||||||
|
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user