forked from astro/chaosbay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (27 loc) · 1.27 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Doesn't require OpenTracker anymore, tracker data is being kept in Mnesia now.
- You will need erlang-collectd from: http://github.com/astro/erlang-collectd/
- You will need MochiWeb from: https://github.com/mochi/mochiweb
- Bind address and port may be specified by environment variables MOCHIWEB_IP and
MOCHIWEB_PORT.
- You need to set the environment variable 'http_base' for the chaosbay application
- You furthermore need epqsql https://github.com/wg/epgsql
- Use chaosbay_sql_schema.sql to create the required tables
- Use a postgres database >= 9.0
To configure, run:
application:set_env(chaosbay, http_base, "http://...").
torrent:reset_tracker_urls().
Use
application:set_env(chaosbay, db_host, "<your hostname here>").
to specify you SQL-Server (localhost is default)
Use
application:set_env(chaosbay, db_port, "<your port number>").
to specify SQL-Server's port. (5432 is default)
Use
application:set_env(chaosbay, db_name, "<your db name>").
to specify the data base name. (chaosbaydb is default)
Use
application:set_env(chaosbay, db_user, "<your chaosbay db user>").
to specify the chaosbay data base user. ("chaosbay" is default)
Use
application:set_env(chaosbay, db_pass, "<your password here>").
to specify the db user's password. ("chaosbay" is default)