Skip to content

artikell/RedisModuleExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Module Example

It is mainly used to support the faster development of RedisModule, mainly based on RedisTimeSeries.

You can expect from each sample:

  • Create a module
  • Create a Redis command
  • Write specific test cases

Usage

  • git clone https://github.com/artikell/RedisModuleExample
  • cd <any-sample-folder>
  • git submodule update --init --recursive
  • make & make test
  • Alternatively, running the sample

Getting Started

Create your own module through unified commands:

git clone https://github.com/artikell/RedisModuleExample <new-module-name>
cd <new-module-name>
sed -i 's/redis_module_example/<new-module-name>/g' src/Makefile
git submodule update --init --recursive
git remote set-url origin <your-repo-path>

Tests

The module includes a basic set of unit tests and integration tests.

Unit tests

To run all unit tests, follow these steps:

$ make unit_tests

About

Redis Module Example, help you to quick start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published