Skip to content

Commit 6b32949

Browse files
committed
Update doc
1 parent 3e022d5 commit 6b32949

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

Resources/doc/index.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ listeners, You can set up different fake ip listener priority.
108108
``` yaml
109109
# app/config/config_dev.yml
110110
bazinga_geocoder:
111-
fake_ip:
111+
fake_ip:
112112
ip: 123.345.643.133
113113
priority: 128
114114
```
@@ -165,6 +165,8 @@ to this provider and cache the return value.
165165
__Configuration example:__
166166

167167
```yaml
168+
# app/config/config*.yml
169+
168170
services:
169171
acme_cache_adapter:
170172
class: "Doctrine\Common\Cache\ApcCache"
@@ -181,12 +183,14 @@ bazinga_geocoder:
181183
> we recommend the [liip/doctrine-cache-bundle](https://github.com/liip/LiipDoctrineCacheBundle.git).
182184

183185

184-
### Symfony2 Profiler integration
186+
### Symfony2 Profiler Integration
185187

186-
Geocoder bundle additionally integrates with Syfmony2 profiler. You can check number of queries executed
187-
by each provider, total execution time and geocoding results.
188+
Geocoder bundle additionally integrates with Symfony2 profiler. You can
189+
check number of queries executed by each provider, total execution time
190+
and geocoding results.
188191

189-
![Example Toolbar](http://i.imgur.com/3Vy5GBW.png)
192+
![Example
193+
Toolbar](https://raw.github.com/willdurand/BazingaGeocoderBundle/master/Resources/doc/toolbar.png)
190194

191195

192196
Reference Configuration
@@ -247,3 +251,15 @@ bazinga_geocoder:
247251
chain:
248252
providers: [free_geo_ip, host_ip]
249253
```
254+
255+
256+
Testing
257+
-------
258+
259+
Setup the test suite using [Composer](http://getcomposer.org/):
260+
261+
$ composer install --dev
262+
263+
Run it using PHPUnit:
264+
265+
$ phpunit

Resources/doc/toolbar.png

18.4 KB
Loading

0 commit comments

Comments
 (0)