diff --git a/apps/cf_http/lib/cf_http/release.ex b/apps/cf_http/lib/cf_http/release.ex index 2693874e0..c246d91cb 100644 --- a/apps/cf_http/lib/cf_http/release.ex +++ b/apps/cf_http/lib/cf_http/release.ex @@ -1,5 +1,5 @@ defmodule CfPhx.Release do - @app :cf_phx + @app :cf_http def migrate do load_app() diff --git a/apps/cf_http/lib/cf_http/repo.ex b/apps/cf_http/lib/cf_http/repo.ex index e47355a09..a8e9dd43f 100644 --- a/apps/cf_http/lib/cf_http/repo.ex +++ b/apps/cf_http/lib/cf_http/repo.ex @@ -1,5 +1,5 @@ defmodule CfPhx.Repo do use Ecto.Repo, - otp_app: :cf_phx, + otp_app: :cf_http, adapter: Ecto.Adapters.Postgres end diff --git a/apps/cf_http/lib/cf_http_web.ex b/apps/cf_http/lib/cf_http_web.ex index aec2af59d..352bee910 100644 --- a/apps/cf_http/lib/cf_http_web.ex +++ b/apps/cf_http/lib/cf_http_web.ex @@ -30,7 +30,7 @@ defmodule CfPhxWeb do def view do quote do use Phoenix.View, - root: "lib/cf_phx_web/templates", + root: "lib/cf_http_web/templates", namespace: CfPhxWeb # Import convenience functions from controllers diff --git a/apps/cf_http/lib/cf_http_web/endpoint.ex b/apps/cf_http/lib/cf_http_web/endpoint.ex index 1ce5f08d0..a67b33790 100644 --- a/apps/cf_http/lib/cf_http_web/endpoint.ex +++ b/apps/cf_http/lib/cf_http_web/endpoint.ex @@ -1,12 +1,12 @@ defmodule CfPhxWeb.Endpoint do - use Phoenix.Endpoint, otp_app: :cf_phx + use Phoenix.Endpoint, otp_app: :cf_http # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, - key: "_cf_phx_key", + key: "_cf_http_key", signing_salt: "Z9eq8iof" ] @@ -20,7 +20,7 @@ defmodule CfPhxWeb.Endpoint do # when deploying your static files in production. plug Plug.Static, at: "/", - from: :cf_phx, + from: :cf_http, gzip: false, only: ~w(css fonts images js favicon.ico robots.txt) diff --git a/apps/cf_http/lib/cf_http_web/gettext.ex b/apps/cf_http/lib/cf_http_web/gettext.ex index c43cffcfc..c7c5b086b 100644 --- a/apps/cf_http/lib/cf_http_web/gettext.ex +++ b/apps/cf_http/lib/cf_http_web/gettext.ex @@ -20,5 +20,5 @@ defmodule CfPhxWeb.Gettext do See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage. """ - use Gettext, otp_app: :cf_phx + use Gettext, otp_app: :cf_http end diff --git a/apps/cf_http/mix.exs b/apps/cf_http/mix.exs index 584b3cb43..77a28bf90 100644 --- a/apps/cf_http/mix.exs +++ b/apps/cf_http/mix.exs @@ -3,7 +3,7 @@ defmodule CfPhx.MixProject do def project do [ - app: :cf_phx, + app: :cf_http, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", diff --git a/bin/start_cf_phx.sh b/bin/start_cf_http.sh similarity index 100% rename from bin/start_cf_phx.sh rename to bin/start_cf_http.sh