CLOSER-Cohorts/archivist

View on GitHub
app.json

Summary

Maintainability
Test Coverage
{
  "name": "archivist",
  "description": "Archivist is a cutting edge tool for documenting data collection in DDI.",
  "keywords": [
    "DDI",
    "editor",
    "questionnaire"
  ],
  "website": "https://wiki.ucl.ac.uk/display/CLOS/Archivist",
  "repository": "https://github.com/CLOSER-Cohorts/archivist",
  "scripts": {
    "postdeploy": "rails db:migrate"
  },
  "env": {
    "FROM_ADDRESS": {
      "description": "The email address used in the 'from' field for any outbound emails.",
      "required": true
    },
    "REACT_APP_API_HOST": {
      "description": "The URL to access the Rails API backend, this is the URL of the main heroku instance e.g. https://<INSERT HEROKU APP NAME>.herokuapp.com",
      "required": true
    },
    "SIDEKIQ_USERNAME": {
      "description": "The username for Sidekiq web interface authentication (/sidekiq_archivist where you can see background jobs).",
      "required": false
    },    
    "SIDEKIQ_PASSWORD": {
      "description": "The password for Sidekiq web interface authentication.",
      "required": false
    },        
    "LANG": {
      "description": "Language setting",
      "value": "en_GB.UTF-8",
      "required": true
    },
    "MAX_THREADS": {
      "description": "The number of threads to run.",
      "value": "5",
      "required": true
    },
    "NODE_MODULES_CACHE": {
      "description": "Node modules cache setting",
      "value": "false",
      "required": true
    },
    "RACK_ENV": {
      "description": "Rack environment setting",
      "value": "production",
      "required": true
    },
    "RAILS_ENV": {
      "description": "Rails environment setting",
      "value": "production",
      "required": true
    },
    "RAILS_SERVE_STATIC_FILES": {
      "description": "Enable serving static files with Rails",
      "value": "enabled",
      "required": true
    },
    "JEMALLOC_ENABLED": {
      "description": "Enable jemalloc, do not change this.",
      "value": "true",
      "required": true
    },    
    "USE_YARN_CACHE": {
      "description": "Yarn cache setting",
      "value": "false",
      "required": true
    },
    "WEB_CONCURRENCY": {
      "description": "The number of processes to run.",
      "value": "1",
      "required": true
    }
  },
  "addons": [
    "mailgun:starter",
    "heroku-redis:premium-1",
    "heroku-postgresql:standard-0",
    "scheduler:standard",
    "librato:development",
    "scheduler:standard",
    "scout:chair"
  ],
  "buildpacks": [
    {
      "url": "https://github.com/gaffneyc/heroku-buildpack-jemalloc.git"
    },    
    {
      "url": "heroku/nodejs"
    },
    {
      "url": "heroku/ruby"
    }
  ]
}