© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
Initial Release
Application tools for use Django AdminLte.
Implemented support for connecting to IRIS via the JDBC library.
👉 Download the code
$ git clone https://github.com/SergeyMi37/appmsw-django-adminlte.git
$ cd appmsw-django-adminlte
👉 Install modules via
VENV
Create .env file in root directory and copy-paste this or just run cp env_sample .env
, :
DEBUG=True SECRET_KEY=gix%#3&%giwv8f0+%r946en7z&d@9*rc$sl0qoq7z&d@9*rc$sl0qoql56xr%bh^w2mj CSRF_TRUSTED_ORIGINS=http://real-you-IP:5085 DJANGO_SUPERUSER_PASSWORD=demo
APPMSW_PARAM_NANE=Basic
APPMSW_LOGO_TITLE=MsW-Title
APPMSW_LOGO_FOOTER=MsW-FooterConnection string for iris via Nativ Python libs
#APPMSW_IRIS_URL=iris://superuser:SYS@iris:1972/USER
Connection string for iris via JDBC libs
APPMSW_IRIS_URL=jdbc://superuser:SYS@iris:1972/USER
python -m venv env
source env/bin/activate
source env/Scripts/activate # for Windows
pip install -r requirements.txt
pip install appmsw/api/intersystems_irispython-3.2.0-py3-none-any.whl
python -m pip install --upgrade pip
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser # adm, developer
python manage.py loaddata db-init-param.json
python manage.py runserver
At this point, the app runs at `http://127.0.0.1:8000/`.