From db98330446c86f2ef5b4cceca3bebe7f190a2571 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Wed, 31 Mar 2021 14:05:55 -0400 Subject: [PATCH] adding support for a site content repo under priv/content/, and for dev.secret.exs --- .gitignore | 6 ++++++ config/dev.exs | 3 +++ priv/content/.gitkeep | 0 3 files changed, 9 insertions(+) create mode 100644 priv/content/.gitkeep diff --git a/.gitignore b/.gitignore index 6b093f6..4db2c97 100644 --- a/.gitignore +++ b/.gitignore @@ -33,9 +33,15 @@ npm-debug.log # this depending on your deployment strategy. /priv/static/ +# config secrets +/config/*.secret.exs # for vscode elixir_ls extension files /.elixir_ls +# blog content repo folder +/priv/content/* +!/priv/content/.gitkeep + # dev TODO.md diff --git a/config/dev.exs b/config/dev.exs index 568e29b..9705a46 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -66,3 +66,6 @@ config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation config :phoenix, :plug_init_mode, :runtime + +# Finally import the config/dev.secret.exs which loads secret config +import_config "dev.secret.exs" diff --git a/priv/content/.gitkeep b/priv/content/.gitkeep new file mode 100644 index 0000000..e69de29