Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

SLRover/selm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Enterprise License Manager (SELM)

GitHub

Description

SELM is WEB-application for software license management. Just manage your licenses painlessly.

Installation

You can use the Docker or installation from source.

Docker

For evaluate and testing just run:

docker run -d -p 8000:8000 selm:latest

If you using SELM in production, you need to run container with volumes:

docker run -d -p 8000:8000 -v /opt/selm/data:/app/data -v /opt/selm/config:/app/config selm:latest

And visit address http://youaddress:8000

Source

You need to use Python 3.7 or higher.

Clone repository:

git clone https://github.com/SLRover/selm.git

Create virtual environment:

python3 -m venv venv

Activate environment:

source venv/bin/activate

Setup requirements:

pip install -r requirements.txt

Run application (specify at least two workers):

gunicorn -b 0.0.0.0:8000 wsgi:app -w 2 --daemon

And visit address http://youaddress:8000

Best practice

For safe use run your application with reverse proxy (for example NGINX) and SSL.

|--------|    SSL    |---------|           |--------|           |------------|
|  User  |<--------->|  NGINX  |<--------->|  SELM  |<--------->|  Database  |
|--------|           |---------|           |--------|           |------------|

Usage

After the first launch you need to specify database. Select SQLite for evaluation and testing or PostgreSQL for production.

Then register a new user and enjoy.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT