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:
- 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.
- 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=
- Redis Make sure you have redis available on port 6379, or a url set by:
REDIS_URL=
- Mail Server
Mailer configuration can be changed in
production.rb
.
SMTP_PORT=
SMTP_SERVER=
SMTP_DOMAIN=
SMTP_LOGIN=
SMTP_PASSWORD=
- Grobid Service
GROBID_HOST=
- Figure Extraction Service
FIGURE_HOST=
- ElasticSearch (optional) Search runs through the searchkick gem, which relies on Elasticsearch. Refer to the searchkick documentation for setting up Elasticsearch.
ELASTICSEARCH_URL=