Permalink
Browse files

Enhance Heroku configuration

  • Loading branch information...
marcomontalbano committed Dec 27, 2018
1 parent ab42d84 commit ce1636033b64bd838f5823c90d0ae89be9b99e0c
Showing with 42 additions and 1 deletion.
  1. +4 −0 .gitignore
  2. 0 {public → }/Gemfile
  3. 0 {public → }/Gemfile.lock
  4. +1 −0 Procfile
  5. +35 −0 app.json
  6. +2 −1 package.json
@@ -81,6 +81,10 @@ npm-debug.log
yarn-error.log
.env

# ruby libs
/vendor
/.bundle

# public folder
/build
/public/javascripts
File renamed without changes.
File renamed without changes.
@@ -0,0 +1 @@
web: cd build && bundle exec jekyll-auth serve --port $PORT
@@ -0,0 +1,35 @@
{
"name": "Technology Radar",
"description": "Technology Radar is a tool that helps organizations to monitor their own discoveries. Keep track of your technologies according to your previous successes and failures.",
"repository": "https://github.com/kata-team/technology-radar",
"logo": "https://kata-team.github.io/technology-radar/images/logo.png",
"keywords": [
"react",
"google spreadsheet",
"static"
],
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/ruby"
}
],
"env": {
"GITHUB_CLIENT_ID": {
"description": "It's the GitHub Client ID of your application."
},
"GITHUB_CLIENT_SECRET": {
"description": "It's the GitHub Client Secret of your application."
},
"GITHUB_ORG_NAME": {
"description": "It's the name of your organization."
},
"REACT_APP_SPREADSHEET_ID": {
"description": "It's the Google Spreadsheet ID.",
"value": "112MlfyXSlIQ8nae85Te_xWDBP136GRaYeHlDdKgYyPo",
"required": false
}
}
}
@@ -42,7 +42,8 @@
"start-js": "react-scripts start",
"start": "npm-run-all -p start-css start-js",
"predeploy": "npm run build",
"deploy": "node ./scripts/publish.js master"
"deploy": "node ./scripts/publish.js master",
"postinstall": "npm run build"
},
"engines": {
"node": "6.x || 7.x || 8.x"

0 comments on commit ce16360

Please sign in to comment.