README.md in pgdexter-0.1.2 vs README.md in pgdexter-0.1.3
- old
+ new
@@ -38,11 +38,11 @@
tail -F -n +1 <log-file> | dexter <database-url>
```
This finds slow queries and generates output like:
-```log
+```
2017-06-25T17:52:19+00:00 Started
2017-06-25T17:52:22+00:00 Processing 189 new query fingerprints
2017-06-25T17:52:22+00:00 Index found: genres_movies (genre_id)
2017-06-25T17:52:22+00:00 Index found: genres_movies (movie_id)
2017-06-25T17:52:22+00:00 Index found: movies (title)
@@ -52,13 +52,13 @@
2017-06-25T17:53:22+00:00 Processing 12 new query fingerprints
```
To be safe, Dexter will not create indexes unless you pass the `--create` flag. In this case, you’ll see:
-```log
+```
2017-06-25T17:52:22+00:00 Index found: ratings (user_id)
-2017-06-25T17:52:22+00:00 Creating index: CREATE INDEX CONCURRENTLY ON ratings (user_id)
+2017-06-25T17:52:22+00:00 Creating index: CREATE INDEX CONCURRENTLY ON "ratings" ("user_id")
2017-06-25T17:52:37+00:00 Index created: 15243 ms
```
## Options
@@ -84,5 +84,20 @@
- [Report bugs](https://github.com/ankane/dexter/issues)
- Fix bugs and [submit pull requests](https://github.com/ankane/dexter/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features
+
+To get started, run:
+
+```sh
+git clone https://github.com/ankane/dexter.git
+cd dexter
+bundle
+rake install
+```
+
+To run tests, use:
+
+```sh
+rake test
+```