add docker-compose instruction to README.md

This commit is contained in:
louis 2016-04-07 21:00:59 +02:00
parent 3977ced331
commit 671cba3c73

View File

@ -1,3 +1,5 @@
# Fixer.io
[![Travis](https://travis-ci.org/hakanensari/fixer-io.svg)](https://travis-ci.org/hakanensari/fixer-io)
<img src="http://fixer.io/img/money.png" alt="fixer" width=180 align="middle">
@ -5,3 +7,14 @@
Fixer.io is a free JSON API for current and historical foreign exchange rates published by the European Central Bank.
The rates are updated daily around 3PM CET.
## Docker
```
# bring the stack up
docker-compose up -d
# initialize the database (postgres need a short time to come up)
docker-compose run fixer rake db:migrate rates:load
```