From 46cb35ad80c79cc4aee39b775df1b5e35241677b Mon Sep 17 00:00:00 2001 From: Kakumirizi Daud Date: Tue, 22 Feb 2022 00:22:51 +0300 Subject: [PATCH] Setup Heroku configurations on core apps module (#444) --- app.json | 19 +++++++++++++++++++ static.json | 13 +++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 app.json create mode 100644 static.json diff --git a/app.json b/app.json new file mode 100644 index 000000000..a578db626 --- /dev/null +++ b/app.json @@ -0,0 +1,19 @@ +{ + "addons": [], + "buildpacks": [ + { + "url": "https://github.com/mars/create-react-app-buildpack.git" + } + ], + "description": "QA Framework for OpenMRS", + "env": {}, + "formation": { + "web": { + "quantity": 1 + } + }, + "name": "openmrs-contrib-qaframework", + "scripts": { + }, + "stack": "heroku-20" +} diff --git a/static.json b/static.json new file mode 100644 index 000000000..e0ce75942 --- /dev/null +++ b/static.json @@ -0,0 +1,13 @@ +{ + "root": "build/", + "routes": { + "/images/*": "/images/", + "/static/media/*": "/static/media/", + "/static/css/*": "/static/css/", + "/static/js/*": "/static/js/", + "/static/java/*": "/static/java/", + "/**": "index.html" + }, + "clean_urls": true, + "https_only": true +}