Extend Redis with TypeScript, JavaScript, Python, C#, Ruby... modules with MetaCall.
This module has been tested with Redis 6.0.9.
Build and/or install MetaCall and then run:
make
The output module will be located in: ./build/metacallredis.so
.
docker build -t metacall/redis .
docker run -p 6379:6379 --rm --name metacall_redis -it metacall/redis
For testing our scripts:
docker exec -it metacall_redis redis-cli
Once inside of the redis-cli, we can do some invokations:
127.0.0.1:6379> metacall getDate
Tue, 25 Dec 52981 04:06:38 GMT
127.0.0.1:6379> metacall sum 3 4
7
In order to stop the container:
docker stop metacall_redis