Tidy up Installation instructions

Now they look prettier on hexdocs
This commit is contained in:
Martin Frost 2016-01-10 13:15:24 +01:00
parent 75b241bb00
commit 6709672540
1 changed files with 15 additions and 16 deletions

View File

@ -37,24 +37,23 @@ end
## Installation ## Installation
1. Add the package to your Mixfile: **Add the package to your Mixfile**
```elixir ```elixir
defp deps do defp deps do
[{:isn, "~> 0.1"}] [{:isn, "~> 1.0"}]
end end
``` ```
2. Add the isn extension to your database **Add the isn extension to your database**
```
mix do isn.gen.migration, ecto.migrate
```
3. Register the postgrex extension in your Repo config mix do isn.gen.migration, ecto.migrate
**Register the postgrex extension in your Repo config**
```elixir ```elixir
config :books, MyApp.Repo, config :books, MyApp.Repo,
adapter: Ecto.Adapters.Postgres, adapter: Ecto.Adapters.Postgres,
extensions: [{ISN, []}] extensions: [{ISN, []}]
``` ```
## Defined types ## Defined types