Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.26 KB

DEPLOYING.md

File metadata and controls

54 lines (44 loc) · 1.26 KB

Deploying

Before getting deploying, follow the setup guide in the wiki to install rbenv, bundler, and yarn

Deployment is set up for easy use on Heroku, however you could run it on whichever platform you choose.

Here is a checklist of things to be done:

  1. Domain Just the hostname, e.g. jellypbc.com
HOSTNAME=

If you want to force redirects to root domain, then you can set CANONICAL_HOST= as well.

  1. Shrine storage Defaults to using Google Cloud Storage, assuming you have buckets created with your hostname, e.g. jellyposter-cache, jellyposter-store. Set in your environment variables:
GCS_BUCKET=
GOOGLE_CLOUD_PROJECT=
GOOGLE_CLOUD_KEYFILE=
  1. Redis Make sure you have redis available on port 6379, or a url set by:
REDIS_URL=
  1. Mail Server Mailer configuration can be changed in production.rb.
SMTP_PORT=
SMTP_SERVER=
SMTP_DOMAIN=
SMTP_LOGIN=
SMTP_PASSWORD=
  1. Grobid Service
GROBID_HOST=
  1. Figure Extraction Service
FIGURE_HOST=
  1. ElasticSearch (optional) Search runs through the searchkick gem, which relies on Elasticsearch. Refer to the searchkick documentation for setting up Elasticsearch.
ELASTICSEARCH_URL=