Skip to content

Commit d8d6498

Browse files
author
Matt Swanson
committed
add instructions for updating to README, closes stringer-rss#35 [ci skip]
1 parent f42a315 commit d8d6498

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Stringer is a Ruby app based on Sinatra, ActiveRecord, PostgreSQL, and DelayedJo
2323

2424
Instructions are provided for deploying to Heroku (runs fine on the free plan) but Stringer can be deployed anywhere that supports Ruby.
2525

26-
```
26+
```sh
2727
git clone git://github.com/swanson/stringer.git
2828
cd stringer
2929
heroku create
@@ -42,6 +42,16 @@ Add an hourly task that runs `rake fetch_feeds`
4242

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

45+
## Updating the app
46+
47+
From the app's directory,
48+
49+
```sh
50+
git pull
51+
git push heroku master
52+
heroku run rake db:migrate
53+
heroku restart
54+
```
4555

4656
# Niceities
4757

@@ -52,9 +62,11 @@ If you are on Heroku:
5262
`heroku domains:add reader.yourdomain.com`
5363

5464
Go to your registrar and add a CNAME:
65+
```
5566
Record: CNAME
5667
Name: reader
5768
Target: your-heroku-instance.herokuapp.com
69+
```
5870

5971
Wait a few minutes for changes to progate.
6072

0 commit comments

Comments
 (0)