Added pm2 ecosystem

This commit is contained in:
Martin Donnelly 2020-05-19 11:07:39 +01:00
parent 2cfed3f26e
commit e0e391548f
3 changed files with 13 additions and 1 deletions

2
dist/index.html vendored
View File

@ -4,7 +4,7 @@
<meta charset='utf-8'> <meta charset='utf-8'>
<meta name='viewport' content='width=device-width,initial-scale=1'> <meta name='viewport' content='width=device-width,initial-scale=1'>
<title>Svelte app</title> <title>Jobs Server</title>
<link rel='icon' type='image/png' href='/favicon.png'> <link rel='icon' type='image/png' href='/favicon.png'>
<link rel='stylesheet' href='/global.css'> <link rel='stylesheet' href='/global.css'>

12
ecosystem.config.js Normal file
View File

@ -0,0 +1,12 @@
module.exports = {
'apps' : [{
'name': 'Job Scraper',
'script': './grabber.js',
'watch': './grabber.js'
}, {
'name': 'Job Server',
'script': './server/server.js',
'watch': './server/server.js'
}]
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 46 KiB