For the full-blown package, please follow:
https://github.com/patrikx3/redis-ui
https://www.npmjs.com/package/p3x-redis-ui
https://corifeus.com/redis-ui
This is part of a composable p3x-redis-ui
package. This is the server based on Socket.IO (no rest at all).
The server will be using the p3x-redis-ui-material
web client package based on built with Webpack, Socket.IO and AngularJs Material.
This package is named as p3x-redis-ui-server
.
For now, there are 2 configuration files:
p3xrs --config ./p3xrs.json
The 2nd configuration is the list of the connections if found in p3xrs.json
it either in the config:
p3xrs.json/p3xrs.connections['home-dir'] = undefined|home|absolute|relative
The best is to keep it undefined and it will be in your home dir, but you can choose any place as well.
You may also set connections file name which overrides default .p3xrs-conns.json
p3xrs --connections-file-name .p3xrs-conns.json
patrikx3@workstation:~/Projects/patrikx3/redis-ui-workspace/redis-ui-server$ p3xrs.js --help
Usage: p3xrs [options]
Options:
-V, --version output the version number
-c, --config [config] Set the p3xr.json p3x-redis-ui-server configuration, see more help in https://github.com/patrikx3/redis-ui-server
-r, --readonly-connections Set the connections to be readonly, no adding, saving or delete a connection
-n, --connections-file-name [filename] Set the connections file name, overrides default .p3xrs-conns.json
-h, --help output usage information
For file names do not use camelCase, but use kebab-case. Folder should be named as kebab-case as well. As you can see, all code filenames are using it like that, please do not change that.
Please apply the .editorconfig
settings in your IDE.
Copy from ./artifacts/boot/p3xrs.json
to the root folder (./p3xrs.json
).
npm install
npm run dev
It uses nodemon
and when any file is changed, it will re-load it.
The server app is available @
http://localhost:7843