Skip to content

gaskeo/limq-panel

Repository files navigation

LiMQ panel

This is a user account control panel.

Another assets for LiMQ are: LiMQ core api, LiMQ react panel

Версия на русском

LiMQ is a powerful and lightweight SaaS (cloud) message broker.

channels

Users can

  • register
  • manage channels
  • manage channels' access keys
  • manage mix-ins

via this panel.

keys

Prerequisites

To set up the panel server:

  1. Create venv (optional)
  2. Install all deps from requirements.txt
  3. Actualize and merge the frontend repo (optional) by python get_front.py
  4. Install and set up Redis
  5. Install and set up PostgreSQL v14 or newer
  6. Log into postgres root account and run commands from init.sql
  7. Set up the environment variables:
Key Description Default value
secret_key Flask secret key
psql_user DB username limq_front
psql_password DB password
psql_host PostgreSQL host localhost
psql_port PostgreSQL port 5432
psql_db PostgreSQL database name limq
redis_host Redis host localhost
redis_port Redis port 6379
redis_db Redis database number 3
redis_password Redis access password
redis_limit_host Redis host for rate limits localhost
redis_limit_port Redis port for rate limits 6379
redis_limit_db Redis database number for rate limits 4
redis_limit_password Redis access password for rate limits
  1. Finally, start the service by executing python core.py. Default server address is localhost:5000