This project is a test for Redis, an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Jedis API is used as a client.
To get you started you can simply clone the redis-test
repository and install the dependencies:
You need git to clone the redis-test
repository.
You will need Java™ SE Development Kit 8 and Maven.
Clone the redis-test
repository using git:
git clone https://github.com/systelab/redis-test.git
cd seed-jee
If you just want to start a new project without the redis-test
commit history then you can do:
git clone --depth=1 https://github.com/systelab/redis-test.git <your-project-name>
The depth=1
tells git to only pull down one commit worth of historical data.
In order to install the dependencies you must run:
mvn install
To start a Redis server, it is recommended to use the Docker image:
docker run --name my-redis –p 6379:6379 -d redis
To run the client, run the following bash command:
docker exec -it my-redis redis-cli
For the moment the repository only contains a test classes. Type the following command to run the tests:
mvn test