Printing working now. The env file for the worker needs to know the printer name.

Then, the address can be used to print the data.
This commit is contained in:
2021-03-17 09:43:19 +05:30
parent ea2bfb1c0c
commit d851714136
10 changed files with 80 additions and 25 deletions

16
.env
View File

@ -1,18 +1,18 @@
HOST=0.0.0.0
PORT=6543
LOG_LEVEL=WARN
PORT=9995
LOG_LEVEL=INFO
DEBUG=true
SQLALCHEMY_DATABASE_URI=
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@localhost:5432/petty
MODULE_NAME=barker.main
PROJECT_NAME=barker
REDIS_HOST=
REDIS_HOST=localhost
REDIS_PORT=6379
# openssl rand -hex 32
SECRET_KEY=
SECRET_KEY=611f9393e58f85521d16d9497bfd847ced70f2b99e12a9c6af40b7bd05cc7b1d
# openssl rand -hex 5
MIDDLEWARE_SECRET_KEY=
MIDDLEWARE_SECRET_KEY=c4afceca1a
ALGORITHM=HS256
JWT_TOKEN_EXPIRE_MINUTES=30
@ -21,3 +21,7 @@ TIMEZONE_OFFSET_MINUTES=330
ALEMBIC_LOG_LEVEL=INFO
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN
WORKER_REDIS_HOST=
WORKER_REDIS_PORT=6379
WORKER_QUEUE_NAME=""