-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment-settings.js.example
51 lines (51 loc) · 1.5 KB
/
environment-settings.js.example
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
module.exports = {
// Development environment settings (DB details, API port, etc)
"development":{
"pg":{
"user": "postgres",
"password": "users-password",
"server":"127.0.0.1",
"port":"5432",
"database": "postgres-database-name"
},
"apiPort" : "5000" // Port you want API to run on
},
// Testing environment settings (DB details, API port, etc)
"testing": {
"pg":{
"user": "postgres",
"password": "users-password",
"server":"127.0.0.1",
"port":"5432",
"database": "postgres-database-name"
},
"apiPort" : "9000" // Port you want API to run on
},
// Staging environment settings (DB details, API port, etc)
"staging": {
"pg":{
"user": "postgres",
"password": "users-password",
"server":"127.0.0.1",
"port":"5432",
"database": "postgres-database-name"
},
"apiPort" : "3000", // Port you want API to run on
"hostIp": "123.4.5.6", // IP address of machine you want to scp the code to (for deploy)
"hostPath":"~/staging", // Path on machine you want to scp the code to (for deploy)
"hostUsername":"ubuntu" // user on machine you want to scp the code to (for deploy)
},
"production": {
"pg":{
"user": "",
"password": "",
"server":"",
"port":"",
"database": ""
},
"apiPort" : "",
"hostIp": "",
"hostPath":"",
"hostUsername":""
}
}