This repository holds the source code for the website that runs redis.io.
The code doesn't use a gem manager like Bundler. Simply install the required gems in (preferably in an RVM gemset or so), by running:
cat .gems | xargs gem install
Now you need to clone the redis-doc
project, and set its path in the
REDIS_DOC environment variable before starting
the server or running the tests.
Finally, you need to have a
redis-server running on port 6379.
To start the website:
To run the tests, you also need to install
gem install cutest capybara
Now, just run:
Or to run the tests in a particular file:
REDIS_DOC=/path/to/redis-doc cutest test/some_file.rb