forked from bulwark-crypto/bulwark-explorer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.template.js
61 lines (58 loc) · 1.47 KB
/
config.template.js
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
53
54
55
56
57
58
59
60
61
/**
* Global configuration object
* When building the client application with yarn,
* settings from a config.js file are used.
*
* !!!!!! The script/install_adultchain.sh creates and configures the config.js file automatically !!!!!!
*
*
* To manually configure (not recommended):
*
* Create a config.js file by copying this file and name the copy config.js
* From a commandline execute the following command:
* cp config.template.js config.js
*
* Open config.js and edit the values you need to change.
*
*/
const config = {
'project': {
'name': 'Name of your project',
'tagline': 'Unicorns For The Masses',
'ticker': 'UFTM'
},
'api': {
'host': 'https://explorer.unicorns-and-poop-rainbows.com',
'port': '443',
'prefix': '/api',
'timeout': '5s'
},
'coinMarketCap': {
'api': 'http://api.coinmarketcap.com/v1/ticker/',
'ticker': 'unicornformasses'
},
'db': {
'host': '127.0.0.1',
'port': '27017',
'name': 'blockex',
'user': 'blockexuser',
'pass': 'Explorer!1'
},
'freegeoip': {
'api': 'https://extreme-ip-lookup.com/json/'
},
'rpc': {
'host': '127.0.0.1',
'port': '52541',
'user': 'bulwarkrpc',
'pass': 'someverysafepassword',
'timeout': 8000, // 8 seconds
},
'slack': {
'url': 'https://hooks.slack.com/services/A00000000/B00000000/somekindofhashhere',
//'channel': '#general',
//'username': 'Block Report',
//'icon_emoji': ':bwk:'
}
};
module.exports = config;