follow here https://redis.io/download download and compile redis server or follow these commands
$ wget http://download.redis.io/releases/redis-4.0.11.tar.gz
$ tar xzf redis-4.0.11.tar.gz
$ cd redis-4.0.11
$ make
start up redis server cd src
./redis-server --bind 0.0.0.0
load sample data into redis server, cd src
, then run this cat <submission-folder>/simple-data-txt.txt | ./redis-cli --pipe
import simple data.
npm i
firstnpm run local
, and use browsers open http://127.0.0.1:3003npm run start
, and use browsers open http://127.0.0.1:3003./build-docker-image.sh
to build docker image, the image named tc/redis-managerdocker run -p 3003:3003 -it tc/redis-manager
to run imageKey | default | Description |
---|---|---|
config/default.js PORT | 3003 | the web app run port |
config/default.js API_VERSION | api/1.0 | the backend endpoint prefix |
config/default.js LOG_LEVEL | Debug | the backend log level |
config/default.js defaultExternalConfigLink | None | the default external config link |
src/environments/environments.ts URI | /backend/api/1.0 | the backend uri used in frontend |
Frontend
Backend
Commands
INFO, GET, SET, RPUSH, SADD, ZADD, HMSET, LRANGE, ZRANGE, SMEMBERS, HGETALL, LLEN, SCARD, ZCARD, HLEN, SREM, ZREM, HSET, HDEL
what commands should be added next?
Other commands may need according to functions.
what commands are dependent on one another?
a web app function dependent on a lot of command, so, in fact, there is no command dependent on one another command.
Please note this app does not function in IE11+