Skip to content

m-team-kit/alise

Repository files navigation

PyPI Badge Read the Docs Code style: black SQAaaS badge shields.io

Account LInking SErvice

Tool to link accounts

Installation

Account LInking SErvice is available on PyPI. Install using pip:

pip install alise

You can also install from the git repository:

git clone https://github.com/marcvs/alise
pip install -e ./alise

Dependencies

ALISE depends on gunicorn:

apt install gunicorn

Run locally (e.g. for testing)

# from the dir where alise is installed:
gunicorn alise.daemon:app -k "uvicorn.workers.UvicornWorker"

Then point your browser to http://localhost:8000

Run as a service

Nginx

We provide an nginx configuration file in alise/etc/nginx.alise (github). Simply copy or it to nginx like:

ln -s $PWD/alise/etc/nginx.alise /etc/nginx/sites-enabled

Systemd

We provide a systemd service file in alise/etc/alise.service (github). Simply copy link it to systemd like:

ln -s $PWD/alise/etc/alise.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable alise.service
systemctl start alise.service

Configuration

ALISE is configured via a single config file. A template is provided in alise/etc/alise.conf(github). It should be self-explanatory.