Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bunesk/management-portal
Management portal to manage licences and rollout updates to the customer
https://github.com/bunesk/management-portal
django python webapp
Last synced: 27 days ago
JSON representation
Management portal to manage licences and rollout updates to the customer
- Host: GitHub
- URL: https://github.com/bunesk/management-portal
- Owner: bunesk
- Created: 2020-10-20T11:30:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T21:53:11.000Z (over 2 years ago)
- Last Synced: 2023-07-23T11:33:28.177Z (over 1 year ago)
- Topics: django, python, webapp
- Language: Python
- Homepage:
- Size: 289 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: licenses/__init__.py
Awesome Lists containing this project
README
# Management Portal
A management portal to manage licenses, rollout updates to the customer and send heartbeats from customer servers.
It was developed on a university project from October 2020 to January 2021 for a partner company.## Goal of this project
The goal of this project is a central web portal where you can easily manage heartbeats, licenses and updates.
### Heartbeat
The heartbeat should be send every day by the customer servers which are running the company's software.
The goal of this is to be able to notice early if a server is down. Also the heartbeat can send error messages.
In the web portal you are able to see if any heartbeats are missing or sent with error messages.### Licenses
Because doing license rollouts manually is very time-consuming you should be able to manage all licenses.
You can read, create, edit and delete all existing licenses in the web portal.
You are also able to see if a license is gonna expire soon.
If the license is extended you can create a future license which will rolls out automatically to the customer software.### Updates
Same as automatically rolled out licenses also updates should be rolled out automatically.
## Used technologies
- Python 3 / Django
- JQuery, Bootstrap & Font Awesome
- MariaDB## Installation
You need to have Python 3 installed.
Next you need to have Django and some libaries for it installed.```bash
pip install django
pip install mysqlclient
pip install djangorestframework
pip install requests
pip install schedule
```Within the next step you should make sure that your MariaDB connection credentials are correct by looking up at `DATABASES` in `database.py`.
After that you can create a superuser and migrate the database tables.In Windows:
```bash
python manage.py createsuperuser
python manage.py migrate
```In Linux and MacOS:
```bash
python3 manage.py createsuperuser
python3 manage.py migrate
```### Customer scripts
The content of `Kundenscripts` belongs to the customer server. You might have to convert the `.py` file to an `.exe`.
To do this you have to execute:```bash
pip install pyinstaller
pip install auto-py-to-exe
```After the helper tool opens you can select the file to convert.
## Usage
To use the management portal you can start the webserver.
In Windows:
`python manage.py runserver`In Linux and MacOS:
`python3 manage.py runserver`