From ee12e1d37c748ce68621bbb86929a48e5f4b170f Mon Sep 17 00:00:00 2001 From: Abhinav Sinha Date: Sun, 16 May 2021 16:10:59 +0530 Subject: [PATCH 1/4] add procfile for additional support --- Procfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..ba2b7cb --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: node src/app.js From 807a4413e87d503e87576f655f6f88e69c44e679 Mon Sep 17 00:00:00 2001 From: Abhinav Sinha Date: Sun, 16 May 2021 16:18:33 +0530 Subject: [PATCH 2/4] test start script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3736e35..948a51a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "This is an alerting application that sends email notifications to beneficiaries in India using COWIN platform for vaccine availability", "main": "src/app.js", "scripts": { - "start": "node src/app", + "start": "npm install && node src/app", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "asinha093@gmail.com", From 8e4f66687ac4863c9bc8c49472daa4c942374cba Mon Sep 17 00:00:00 2001 From: Abhinav Sinha Date: Sun, 16 May 2021 16:28:12 +0530 Subject: [PATCH 3/4] dependencies added for heroku --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 948a51a..52e64c8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "This is an alerting application that sends email notifications to beneficiaries in India using COWIN platform for vaccine availability", "main": "src/app.js", "scripts": { - "start": "npm install && node src/app", + "start": "node src/app", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "asinha093@gmail.com", @@ -15,9 +15,7 @@ "dotenv": "^8.2.0", "moment": "^2.29.1", "node-cron": "^3.0.0", + "nodemailer": "^6.6.0", "pm2": "^4.5.6" - }, - "devDependencies": { - "nodemailer": "^6.6.0" } } From e1b46e01c47ed803f8f0600c49aafbb2e39e98b6 Mon Sep 17 00:00:00 2001 From: Abhinav Sinha Date: Sun, 16 May 2021 16:34:44 +0530 Subject: [PATCH 4/4] pin version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 52e64c8..ffc84ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "covid-19-vaccine-alerts-cowin", - "version": "1.0.4", + "version": "1.0.5", "description": "This is an alerting application that sends email notifications to beneficiaries in India using COWIN platform for vaccine availability", "main": "src/app.js", "scripts": {