Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1016 Bytes

Heroku.md

File metadata and controls

37 lines (26 loc) · 1016 Bytes
git clone [email protected]:stringer-rss/stringer.git
cd stringer
heroku create

heroku config:set SECRET_KEY_BASE=`openssl rand -hex 64`
heroku config:set ENCRYPTION_PRIMARY_KEY=`openssl rand -hex 64`
heroku config:set ENCRYPTION_DETERMINISTIC_KEY=`openssl rand -hex 64`
heroku config:set ENCRYPTION_KEY_DERIVATION_SALT=`openssl rand -hex 64`

git push heroku main

heroku config:set APP_URL=`heroku apps:info --shell | grep web_url | cut -d= -f2`

heroku run rake db:migrate
heroku restart

heroku addons:create scheduler
heroku addons:open scheduler

Add an hourly task that runs rake lazy_fetch (if you are not on Heroku you may want rake fetch_feeds instead).

Load the app and follow the instructions to import your feeds and start using the app.

See the "Niceties" section of the README for a few more tips and tricks for getting the most out of Stringer on Heroku.

Updating the app

From the app's directory:

git pull
git push heroku main
heroku run rake db:migrate
heroku restart