A simple Discourse API
- Add
excourse
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:excourse, git: "https://github.com/ulve/excourse.git"}]
end
```
- Ensure
excourse
is started before your application:
```elixir
def application do
[applications: [:excourse]]
end
```
The following config must be set
config :excourse, api_key: "CHANGE ME"
config :excourse, api_username: "CHANGE ME"
config :excourse, discourse_url: "CHANGE ME"