Skip to content

alfonsserra/redis-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redis-test — Test Redis using Jedis API

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.

Getting Started

To get you started you can simply clone the redis-test repository and install the dependencies:

Prerequisites

You need git to clone the redis-test repository.

You will need Java™ SE Development Kit 8 and Maven.

Clone redis-test

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.

Install Dependencies

In order to install the dependencies you must run:

mvn install

Run

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages