Skip to content

Commit

Permalink
Merge pull request #17 from mibamur/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
alagu committed Dec 10, 2013
2 parents 127feed + 629a898 commit cbc9ae9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Installing locally
------------------
Two commands, one for installing, another for running.

```
```sh
gem install pagoda-jekyll
pagoda .
```
Expand All @@ -52,7 +52,7 @@ Requirements:
2. Git
3. Your Jekyll Repo

```
```sh
git clone https://github.com/alagu/pagoda
cd pagoda
heroku create
Expand All @@ -73,22 +73,22 @@ This is still not well organized, but the setup works.

## Create sock and pid folders

```
```sh
mkdir -p tmp/pids
mkdir tmp/sock
```

## Your unicorn configuration (unicorn.rb):

```
```ruby
pid "./tmp/pids/blog-admin.pid"
listen "unix:./tmp/sock/blog-admin.sock"
ENV['blog'] = '/path/to/your/jekyll/blog'
```

## Script to start Unicorn (start.sh):

```
```sh
cd /path/to/pagoda
rvm use 1.9.3
unicorn -c unicorn.rb -D
Expand All @@ -107,7 +107,7 @@ Adding password for user alagu

`myblog.com` shows the generated blog and `myblog.com/admin` pops up a http authentication for your admin.

```
```nginx
upstream unicorn_server {
server unix:/path/to/tmp/sock/blog-admin.sock;
}
Expand Down

0 comments on commit cbc9ae9

Please sign in to comment.