https://github.com/s00d/redisweb
Redis-web is a simple web interface in Laravel and Vue to manage Redis databases.
https://github.com/s00d/redisweb
Last synced: 5 months ago
JSON representation
Redis-web is a simple web interface in Laravel and Vue to manage Redis databases.
- Host: GitHub
- URL: https://github.com/s00d/redisweb
- Owner: s00d
- Created: 2017-09-24T14:20:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T09:45:29.000Z (over 8 years ago)
- Last Synced: 2025-03-03T02:34:00.412Z (over 1 year ago)
- Language: Vue
- Size: 6.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
Redis-WEB
=========
Redis-web is a simple web interface in [Slim](https://github.com/slimphp/Slim)
and [Vue](https://github.com/vuejs/vue) to manage [Redis](http://redis.io/) databases.
It is released under the
[Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/).
This code is being developed and maintained by [Pavel Kuzmin](https://github.com/s00d/).
You can send comments, patches, questions
[here on github](https://github.com/s00d/redisWeb/issues)
Special thanks to [Erik Dubbelboer](https://github.com/ErikDubbelboer/)
Preview
=======

Installing/Configuring
======================
To install [redis-web](https://packagist.org/packages/s00d/redis-web) through [composer](http://getcomposer.org/) you need to execute the following commands:
```
php composer.phar create-project -s dev s00d/redis-web path/to/install
```
or you can also do a manual install using:
```
git clone https://github.com/s00d/redisWeb.git
cd redisWeb
```
Install and run:
```
composer install && composer update
npm i
npm prod
```
Settings
========
Copy ``.env.example`` to ``.env`` and edit it with your specific configuration.
all setting in file ``./Settings.php``
#### Passwords:
Cleartext passwords are only good for quick testing. You probably want to use hashed passwords. Hashed password can be generated with htpasswd command line tool or password_hash() PHP function
```
$ htpasswd -nbBC 10 root password
root:$2y$10$ZDEIUCQ7BSDLP3d2MI4HIOI4.CcaYqRj8ICCyJT2isOBd5JLM7zYe
```
Add to settings
```
"users" => [
"root" => '$2y$10$ZDEIUCQ7BSDLP3d2MI4HIOI4.CcaYqRj8ICCyJT2isOBd5JLM7zYe'
]
```
#### Apache configuration
Ensure your ``.htaccess`` and ``index.php`` files are in the same public-accessible directory. The ``.htaccess`` file should contain this code:
```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
```
Make sure your Apache virtual host is configured with the AllowOverride option so that the .htaccess rewrite rules can be used:
```
AllowOverride All
```
#### Nginx configuration
This is an example Nginx virtual host configuration for the domain ``example.com``. It listens for inbound HTTP connections on port 80. It assumes a PHP-FPM server is running on port 9000.
You should update the ``server_name``, ``error_log``, ``access_log``, and ``root directives`` with your own values.
```
server {
listen 80;
server_name example.com;
index index.php;
error_log /path/to/example.error.log;
access_log /path/to/example.access.log;
root /path/to/public;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ \.php {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
}
}
```
Queues!
=======
Show all queues from redis:

Install latest PM2 stable version is installable via NPM:
```
npm install pm2@latest -g
```
Run
```
npm run socket:start
```