Skip to content

Commit

Permalink
Add dev.local.exs usage (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 authored Mar 21, 2023
1 parent 257a0f4 commit d8e28bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ wanda-*.tar
/tmp/

# Generated OpenAPI spec.
openapi.json
openapi.json

# Local dev.local.exs file
config/dev.local.exs
5 changes: 5 additions & 0 deletions config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ config :joken,
access_token_signer: "s2ZdE+3+ke1USHEJ5O45KT364KiXPYaB9cJPdH3p60t8yT0nkLexLBNw8TFSzC7k"

config :unplug, :init_mode, :runtime

# Override with local dev.local.exs file
if File.exists?("#{__DIR__}/dev.local.exs") do
import_config "dev.local.exs"
end

0 comments on commit d8e28bc

Please sign in to comment.