From a9018f137a952e0c1575b0b82caac98b632345da Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 11 Jun 2021 19:51:07 +0100 Subject: [PATCH] Adds Heroku support --- Procfile | 1 + app.json | 17 +++++++++++++++++ package.json | 4 ++++ 3 files changed, 22 insertions(+) create mode 100644 Procfile create mode 100644 app.json diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..6f86b16c --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: node server.js \ No newline at end of file diff --git a/app.json b/app.json new file mode 100644 index 00000000..2ee6d7a6 --- /dev/null +++ b/app.json @@ -0,0 +1,17 @@ +{ + "name": "Dashy", + "description": "A Dashboard for your Homelab 🚀", + "repository": "https://github.com/lissy93/dashy", + "logo": "https://github.com/Lissy93/dashy/blob/master/docs/assets/logo.png", + "keywords": [ + "node", + "vue", + "static", + "dashboard", + "self-hosted", + "home-lab", + "lissy93" + ], + "image": "heroku/nodejs", + "stack": "heroku-20" +} \ No newline at end of file diff --git a/package.json b/package.json index ad55eeb2..089f5fa6 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "panel", "version": "0.1.0", "license": "MIT", + "heroku-run-build-script": true, "scripts": { "start": "node server", "dev": "vue-cli-service serve", @@ -53,6 +54,9 @@ "gitHooks": { "pre-commit": "yarn lint" }, + "engines": { + "node": "15.x" + }, "eslintConfig": { "root": true, "env": {