Skip to content

Commit

Permalink
Add redis start / stop convenience tasks
Browse files Browse the repository at this point in the history
For doing testing
  • Loading branch information
cyx committed Aug 13, 2014
1 parent 2426bbb commit 5800c9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
test:
node test.js

start_redis:
redis-server --daemonize yes --port 10001 --requirepass test

stop_redis:
redis-cli -p 10001 -a test SHUTDOWN

.PHONY: test

0 comments on commit 5800c9e

Please sign in to comment.