Skip to content
Alex Musayev edited this page Sep 18, 2018 · 1 revision

Heroku compatibility is not maintained any more, but here are some hints that were helpful while the project was hosted there.

Local set up:

  1. Copy .env.example to .env, with real env var values.

Heroku deployment:

  1. Required resources: Heroku Postgres, Heroku Scheduler.
  2. Ensure env vars from .env.example are set.
  3. Migrate DB: heroku run --app freefeed-feeder rails db:migrate
  4. Schedule rails pull:all task.

Run Rake task on Heroku instance:

heroku run --app freefeed-feeder rails pull:all

Watch the log:

heroku logs --app freefeed-feeder --tail
Clone this wiki locally