Skip to content

Commit

Permalink
fixed code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmike committed Aug 30, 2014
1 parent dd5311a commit 8781257
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions README.md
Expand Up @@ -14,40 +14,43 @@ Development
To run peer4commit in development mode follow these instructions:

* Install [Ruby](https://www.ruby-lang.org/en/downloads/) 1.9+
* Install the [bundler](http://bundler.io/) gem (you may need root):

* Install the [bundler](http://bundler.io/) gem (you may need root):
```
gem install bundler
```

gem install bundler

* Install [git](http://git-scm.com/downloads)
* Clone the repository


git clone git@github.com:sigmike/peer4commit.git
cd peer4commit
* Clone the repository
```
git clone git@github.com:sigmike/peer4commit.git
cd peer4commit
```

* Install the sqlite3 development libraries
* Install the gems (without the production gems):


bundle install --without mysql postgresql
* Install the gems (without the production gems):
```
bundle install --without mysql postgresql
```

* Create `database.yml`.


cp config/database.yml{.sample,}
```
cp config/database.yml{.sample,}
```

* Create `config.yml`


cp config/config.yml{.example,}
```
cp config/config.yml{.example,}
```

* Edit `config.yml`

* Initialize the database


```
bundle exec rake db:migrate
```

* Make sure `ppcoind` is running with RPC enabled

Expand All @@ -60,12 +63,14 @@ To run peer4commit in development mode follow these instructions:


To update the project balances run this command:

```
bundle exec rails runner "BalanceUpdater.work"
```

To retreive commits and send tips on project that do not hold tips:

```
bundle exec rails runner "BitcoinTipper.work"
```

License
=======
Expand Down

0 comments on commit 8781257

Please sign in to comment.