Article
· Sep 19, 2023 2m read

IRIS management portal on the Django framework

image
Hello to all developers and IRIS users.
I am submitting to the competition a project for an alternative IRIS management portal that I have long wanted to create. The project was implemented on the Django framework and the intersystems_irispython-3.2.0-py3-none-any.whl library using native IRIS. The Django project is integrated with the telegram messenger and can be launched from a docker container or directly.
To run it, you need to create a .env file in the project root for which you can use the .env_example example.

DJANGO_DEBUG=True
DATABASE_URL=sqlite:///db.sqlite3
TELEGRAM_TOKEN=<PASTE YOUR TELEGRAM TOKEN HERE>
ISC_Username=_system
ISC_Password=SYS
ISC_Namespace=USER
DJANGO_SUPERUSER_PASSWORD=demo

To this file you need to add the Telegram messenger token, which you receive from the Father of Bots, and configure the access parameters to the IRIS instance.
You can immediately change the default password "demo" for the Django superuser "adm".
Let's execute all other instructions from the "README.md" file

After running "python manage.py runserver" open the link "http://127.0.0.1:8000/" in the browser

If the token is incorrect, the project will not start and will display a message telegram.error.Unauthorized: Unauthorized

If the IRIS access settings are incorrect, the project will start
and will show the panel for working with the application parameters model.
image

When the IRIS access settings are correct, the main page will open, and you need to log in using a superuser account:
image

The project is multilingual (3 languages are currently localized).
It implements viewing of iris.cpf, messages.log files and a list of system tables (Namespaces, Database, LockTab, Products, Web Application, Users, Roles, Process, Services, Resources, Tasks).
It is possible, but not yet implemented, to view and edit elements of system tables
image

It is planned to receive IRIS system tables and other user information in the telegram.
image

I invite you to support the project by voting for joint development.

Discussion (1)2
Log in or sign up to continue