-
Notifications
You must be signed in to change notification settings - Fork 4
/
bayes.pm2.config.js
51 lines (48 loc) · 1.44 KB
/
bayes.pm2.config.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
// Copyright 2023, University of Colorado Boulder
/**
* From bayes run:
* cd aqua;
* pm2 startOrReload js/config/bayes.pm2.config.js --update-env;
* pm2 save;
*
* In general or for testing run:
* pm2 start bayes.pm2.config.js
*
* Likely to be run as `phet` user on sparky.colorado.edu
*
* @author Michael Kauzmann (PhET Interactive Simulations)
* @author Jonathan Olson (PhET Interactive Simulations)
* @author Matt Pennington (PhET Interactive Simulations)
*/
module.exports = {
apps: [
{
name: 'yotta-server',
cwd: '/data/share/phet/yotta-statistics/yotta/',
script: 'js/reports/yotta-server.js',
time: true
},
{
name: 'phettest-server',
cwd: '/data/web/htdocs/dev/phettest/phettest',
script: 'phettest-server.js',
time: true
},
{
name: 'monday-server',
cwd: '/data/share/phet/monday/monday',
script: 'js/app.js',
time: true
},
{
name: 'ct-puppeteer-client',
cwd: '/data/share/phet/continuous-testing/ct-node-clients/aqua',
// This is the static IP for sparky, but it gets around the DNS, which was causing trouble in https://github.com/phetsims/aqua/issues/185#issuecomment-1604337447
args: 'ct-node-client --ctID="Bayes Node Puppeteer" --serverURL=http://128.138.93.172/ --fileServerURL=http://128.138.93.172/continuous-testing',
script: 'grunt',
exec_mode: 'cluster',
instances: 16,
time: true
}
]
};