2017 © Pedro Peláez
 

project redis-web

Redis-web is a simple web interface in Laravel and Vue to manage Redis databases.

image

s00d/redis-web

Redis-web is a simple web interface in Laravel and Vue to manage Redis databases.

  • Friday, December 1, 2017
  • by s00d
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • Vue
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Redis-WEB

Redis-web is a simple web interface in Slim and Vue to manage Redis databases., (*1)

It is released under the Creative Commons Attribution 3.0 license. This code is being developed and maintained by Pavel Kuzmin., (*2)

You can send comments, patches, questions here on github, (*3)

Special thanks to Erik Dubbelboer, (*4)

Preview


, (*5)

Installing/Configuring

To install redis-web through composer you need to execute the following commands:, (*6)

php composer.phar create-project -s dev s00d/redis-web path/to/install

or you can also do a manual install using:, (*7)

git clone https://github.com/s00d/redisWeb.git
cd redisWeb

Install and run:, (*8)

composer install && composer update
npm i
npm prod

Settings

Copy .env.example to .env and edit it with your specific configuration., (*9)

all setting in file ./Settings.php, (*10)

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, (*11)

$ htpasswd -nbBC 10 root password
root:$2y$10$ZDEIUCQ7BSDLP3d2MI4HIOI4.CcaYqRj8ICCyJT2isOBd5JLM7zYe

Add to settings, (*12)

"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:, (*13)

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:, (*14)

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., (*15)

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:, (*16)


, (*17)

Install latest PM2 stable version is installable via NPM:, (*18)

npm install pm2@latest -g

Run, (*19)

npm run socket:start

The Versions