Permalink
Browse files

Update HOSTING.md on a new config format and convention

  • Loading branch information...
1 parent 605011a commit b160079689f2cd681df500407084012ca988e5fb @yrashk committed Oct 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 HOSTING.md
View
@@ -1,12 +1,12 @@
Hosting expm Repository
=======================
-It's fairly straightforward. Check out expm repository, run `make`, copy `sys.config.sample.exs` to `sys.config.exs` and edit it and run `make start`.
+It's fairly straightforward. Check out expm repository, run `make`, copy `config.exs.sample` to `config.exs`, edit it and run `make start`.
-By default, it will run its own independent repository. If you, however, want to become a mirror, put something like this into your `sys.config.exs`:
+By default, it will run its own independent repository. If you, however, want to become a mirror, put something like this into your configuration:
```erlang
- repository: quote do: Expm.Repository.Mirror.new(source: (Expm.Repository.HTTP.new url: "http://expm.co"), destination: Expm.Repository.DETS.new(filename: "expm.dat"), frequency: 1000*60),
+ config.repository quote do: Expm.Repository.Mirror.new(source: (Expm.Repository.HTTP.new url: "http://expm.co"), destination: Expm.Repository.DETS.new(filename: "expm.dat"), frequency: 1000*60)
```
This will download expm.co's repository every minute.

0 comments on commit b160079

Please sign in to comment.