-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.js
56 lines (54 loc) · 1.48 KB
/
config.example.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
module.exports = {
personium: {
CELL_NAME: '<CELL_NAME>',
CELL_FQDN: '<CELL_FQDN>',
CELL_ADMIN: process.env.PERSONIUM_USER,
CELL_ADMIN_PASS: process.env.PERSONIUM_PASS,
DIRECTORY_MAPPING: [
{
filePattern: [
'src/app/engine/front/*',
'!src/app/engine/front/*.example.*',
],
srcDir: 'src/app/engine/front',
dstDir: 'front',
resourceType: 'service',
meta: {
language: 'JavaScript',
subject: 'tokenAcc',
endPoints: {
app: 'launchSPA.js',
},
},
},
{
filePattern: [
'src/app/public',
'src/app/public/**/*',
'!src/app/public/**/*.example.*',
],
srcDir: 'src/app/public',
dstDir: 'public',
resourceType: 'collection',
},
{
filePattern: ['src/assets/**/*', '!src/assets/**/*.example.*'],
srcDir: 'src/assets',
dstDir: '',
resourceType: 'staticFile',
},
],
},
network: {
http_proxy: process.env.http_proxy || '',
https_proxy: process.env.https_proxy || '',
},
};
process.env.http_proxy = '';
process.env.https_proxy = '';
process.env.HTTP_PROXY = '';
process.env.HTTPS_PROXY = '';
console.log('------------------------------------------------------');
console.log(' <info>');
console.log(' Proxy env values are contained in `config.network` ');
console.log('------------------------------------------------------');