diff --git a/README.md b/README.md index 1430ec5..3edbd59 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,7 @@ En Elixir based built-in error tracking solution. ## Configuration -Set up the repository: - -```elixir -config :error_tracker, - repo: MyApp.Repo -``` - -And you are ready to go! - -By default Phoenix and Oban integrations will start registering exceptions. - -If you want to also catch exceptions before your Phoenix Router (in plugs used -on your Endpoint) or your application just use `Plug` but not `Phoenix`, you can -attach to those errors with: - -```elixir -defmodule MyApp.Endpoint do - use ErrorTracker.Integrations.Plug -end -``` +Take a look at the [Getting Started](/guides/Getting%20Started.md) guide. ## Development @@ -61,5 +42,3 @@ To do so you can execute this task in a separate terminal: ``` mix assets.watch ``` - - diff --git a/dev.exs b/dev.exs index 55ea57c..08c33b1 100644 --- a/dev.exs +++ b/dev.exs @@ -43,7 +43,7 @@ Application.put_env(:error_tracker, ErrorTrackerDevWeb.Endpoint, # Setup up the ErrorTracker configuration Application.put_env(:error_tracker, :repo, ErrorTrackerDev.Repo) -Application.put_env(:error_tracker, :application, :error_tracker_dev) +Application.put_env(:error_tracker, :otp_app, :error_tracker_dev) Application.put_env(:error_tracker, :prefix, "private") defmodule ErrorTrackerDevWeb.PageController do @@ -54,7 +54,7 @@ defmodule ErrorTrackerDevWeb.PageController do def call(conn, :index) do content(conn, """