aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings.yml.example
blob: 25155c5b067c0c7fba1c8aca1b7c613547185f61 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
default: &default
  base_url:           "http://example.com/" # base url
  consumer:
    key:              "consumer key of collector (register)"
    secret:           "consumer secret"

  collector:
    server_port:      42106
    secret_key:       "secret key to authorize workers"
    count:            1 # workers count

  notification:
    enabled:          false
    consumer:
      key:            "consumer key of notification account"
      secret:         "consumer secret"
    accounts:
      - token:        "access token of notification account"
        secret:       "access token secret"
    favorites:
      - 50
      - 100
      - 250

  tweets:
    count:
      default:        10
      max:            100
    favorites:
      default:        20
      max:            null

  users:
    count:            50

development:
  <<: *default

test:
  <<: *default
  consumer:
    key:              "JVkX2Uy0Qtigsh0GiG5Lw"
    secret:           "vfkPvOkzKUGuZ4xKtFAVvlAKoL3u2grxchuQEBvE"

  collector:
    server_port:      42106
    secret_key:       "secret"
    count:            1

production:
  <<: *default