Skip to content

Commit

Permalink
Fix rebar3 mentions in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Oct 6, 2024
1 parent 5ce0b25 commit faad6e6
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# Erlang DNS Server

Serve DNS authoritative responses... with Erlang.
Serve DNS authoritative responses with Erlang.

[![CI](https://github.com/dnsimple/erldns/actions/workflows/ci.yml/badge.svg)](https://github.com/dnsimple/erldns/actions/workflows/ci.yml)

## Building

To build:

```
```shell
make
```

To start fresh:

```
```shell
make fresh
make
```

## Zones

Zones are loaded from JSON. Example JSON files are in the `priv/` directory.
Zones are loaded from JSON. Example JSON files are in the [`priv/`](./priv/) directory.

You can also write new systems to load zones by writing the zones directly to the zone cache using `erldns_zone_cache:put_zone/1`.

Expand All @@ -31,22 +31,16 @@ An example configuration file can be found in `erldns.example.config`. Copy it t

## Running

### Launch directly:

```bash
overmind start
```

### To get an interactive Erlang REPL:

```bash
./rebar3 shell
rebar3 shell
```

### Build a distribution with and run the release:

```bash
./rebar3 release
rebar3 release
./_build/default/rel/erldns/bin/erldns foreground
```

Expand Down

0 comments on commit faad6e6

Please sign in to comment.