feat(database): add mysql support

!19 closes #16
This commit is contained in:
2024-06-06 06:19:27 +09:30
parent c0173d6feb
commit adeffff42c
6 changed files with 73 additions and 3 deletions

View File

@ -42,3 +42,20 @@ Effort is placed upon all database items having a history. The items that specif
Once a history entry has been made for an item, no one including a `super_admin` can edit or delete a history entry. The only time a history entry is removed, is when an item is removed from the database.
## Installation
To install this application you must have a container engine installed, both docker and kubernetes are supported. The container image is available on [Docker Hub](https://hub.docker.com/r/nofusscomputing/django-template) and can be pulled with `docker pull nofusscomputing/django-template:latest`.
Settings for the application are stored within a docker volume at path `/etc/itsm/`, with the settings living in `.py` files. A database is also required for the application to store it's settings. SQLLite and MariaDB/MySQL are supported.
### Settings file
The settings file is a python file `.py` and must remain a valid python file for the application to work.
``` py title="settings.py"
--8<-- "includes/etc/itsm/settings.py"
```