Full ecosystem for PM2
This commit is contained in:
parent
45eb062b80
commit
6879809837
7
Blog Posts/fan.md
Normal file
7
Blog Posts/fan.md
Normal file
@ -0,0 +1,7 @@
|
||||
Being in the UK means we don't really have anything like air conditioning. When it gets hot, you really have to open a window and that's the best you can expect.
|
||||
|
||||
I wanted to try and see if there was someway of implementing something to cool my living room down.
|
||||
|
||||
A few years ago, I supported a Kickstarter project called [Spark Core](https://www.kickstarter.com/projects/sparkdevices/spark-core-wi-fi-for-everything-arduino-compatible), this is an Arduino compatible device with built in wifi. I really had no idea what to do with it, I had lofty ideas, but nothing ever came to fruition.
|
||||
|
||||
I then discovered a device that could read temperature and pressure, and found code to make use of it on the Spark or Particle as it's known now. So I quickly bought a few on Ebay and
|
0
Blog Posts/mask.md
Normal file
0
Blog Posts/mask.md
Normal file
@ -54,6 +54,7 @@ Javascript development including OO, DOM manipulation, HTML5, CSS3, Canvas, MVC
|
||||
- Using NodeJS, CouchDB, Postgres Sql, Nginx, Websockets, MQTT, EmberJS, EmberCLI, Mocha, Docker & Push Messaging and deploying onto Azure and AWS servers.
|
||||
- Developed room controlling software to control lights / heating / projector in a meeting room. Created Node based back end to schedule and control devices uses MQTT and tablet based front end.
|
||||
- Developing Android and iOS applications that use BLE (Bluetooth Low Energy) to detect iBeacons and Bluetooth sensor devices. Ranging from TI sensor devices to custom made hardware.
|
||||
- Developing software to display real time sensor readings from the BLE sensor devices.
|
||||
- Using Cordova to create mobile versions of the applications to run on both Android and iOS.
|
||||
|
||||
**Freelance Developer, Impera Media, October 2015 – February 2016**
|
||||
|
BIN
docs/cv-2016-06.pdf
Normal file
BIN
docs/cv-2016-06.pdf
Normal file
Binary file not shown.
134
pm2/Ecosystem.json
Normal file
134
pm2/Ecosystem.json
Normal file
@ -0,0 +1,134 @@
|
||||
{
|
||||
/**
|
||||
* Application configuration section
|
||||
* http://pm2.keymetrics.io/docs/usage/application-declaration/
|
||||
*/
|
||||
apps: [
|
||||
// First application
|
||||
{
|
||||
"name": "SilvrPipes",
|
||||
"script": "pipes-server.js",
|
||||
"cwd": "/home/martind2000/dev/Rinser",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Silvrtree",
|
||||
"script": "web-server.js",
|
||||
"cwd": "/home/martind2000/dev/silvrgit",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
|
||||
,
|
||||
{
|
||||
"name": "Lot",
|
||||
"script": "lot.js",
|
||||
"cwd": "/home/martind2000/dev/lot",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"name": "NCI",
|
||||
"script": "web-server.js",
|
||||
"cwd": "/home/martind2000/dev/nci-quick-setup/node_modules/.bin/nci",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Keeper",
|
||||
"script": "keeper-server.js",
|
||||
"cwd": "/home/martind2000/dev/keeper",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SilvrAPI",
|
||||
"script": "newapp.js",
|
||||
"cwd": "/home/martind2000/dev/silvrapi",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Logger",
|
||||
"script": "logger-server.js",
|
||||
"cwd": "/home/martind2000/dev/logger",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Recipe",
|
||||
"script": "recipe-server.js",
|
||||
"cwd": "/var/www/recipes",
|
||||
"watch": true,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env: {
|
||||
COMMON_VARIABLE: "true"
|
||||
},
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
}
|
||||
}
|
||||
],
|
||||
/**
|
||||
* Deployment section
|
||||
* http://pm2.keymetrics.io/docs/usage/deployment/
|
||||
*/
|
||||
deploy: {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user