README.md in certmeister-0.0.2 vs README.md in certmeister-0.1.0
- old
+ new
@@ -24,9 +24,25 @@
To hit the service:
```
$ curl -L \
-d "psk=secretkey" \
- -d "csr=$(perl -MURI::Escape -e 'print uri_escape(join("", <STDIN>));' < request/client.csr)" \
- http://certmeister.hetzner.co.za/certificate/$(hostname --fqdn) > request/client.crt
+ -d "csr=$(perl -MURI::Escape -e 'print uri_escape(join("", <STDIN>));' < fixtures/client.csr)" \
+ http://certmeister.hetzner.co.za/certificate/axl.starjuice.net
```
+## Testing
+
+Because we test both certmeister and certmeister-redis with `rake spec`, you need redis up if you want to run the tests. It's easy:
+
+* Install redis-2.8.4 or later.
+* Start redis.
+* Run tests.
+* Stop redis.
+
+```
+sudo yum install -y ansible
+sudo ansible-playbook -i contrib/hosts contrib/redis.yml
+redis-server --logfile /dev/null &
+rake spec
+kill %1; wait %1
+```