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.
Users can
- register
- manage channels
- manage channels' access keys
- manage mix-ins
via this panel.
To set up the panel server:
- Create venv (optional)
- Install all deps from
requirements.txt
- Actualize and merge the frontend repo (optional) by
python get_front.py
- Install and set up Redis
- Install and set up PostgreSQL v14 or newer
- Log into
postgres
root account and run commands frominit.sql
- 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 |
- Finally, start the service by executing
python core.py
. Default server address islocalhost:5000