-
Notifications
You must be signed in to change notification settings - Fork 7
Heroku
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:
- Copy
.env.example
to.env
, with real env var values.
Heroku deployment:
- Required resources: Heroku Postgres, Heroku Scheduler.
- Ensure env vars from
.env.example
are set. - Migrate DB:
heroku run --app freefeed-feeder rails db:migrate
- 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