quelixir / depositaire

A share registrar solution for the 21st century.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Depositaire Logo

Made with Python GPL-3.0 codecov

A share registrar solution for the 21st century.

Getting started

Bare metal

$ git clone https://github.com/quelixir/depositaire
$ cd depositaire
$ poetry install
$ poetry run python -m flask run

Docker

SQLite

$ docker run --detach \
  --env DEPOSITAIRE_DB_TYPE="SQLITE" \
  --env DEPOSITAIRE_DB_TYPE="depositaire.sqlite" \
  --name depositaire \
  --publish 80:5000 \
  --restart=unless-stopped \
  quelixir/depositaire:latest

# Alternatively, use ghcr.io:
  ghcr.io/quelixir/depositaire:latest

MariaDB

$ docker run --detach \
  --env DEPOSITAIRE_DB_TYPE="MARIADB" \
  --env DEPOSITAIRE_DB_HOST="<mariadb_server_ip>" \
  --env DEPOSITAIRE_DB_PORT="3306" \
  --env DEPOSITAIRE_DB_USER="root" \
  --env DEPOSITAIRE_DB_PASS="" \
  --env DEPOSITAIRE_DB_NAME="depositaire" \
  --name depositaire \
  --publish 80:5000 \
  --restart=unless-stopped \
  quelixir/depositaire:latest

# Alternatively, use ghcr.io:
  ghcr.io/quelixir/depositaire:latest

Creating a SQLite database file

grep -Ev "START TRANSACTION;|COMMIT;" depositaire.sql | sqlite3 depositaire.sqlite

License

This project is licensed under the GNU Affero General Public License v3.0. For more details, see the LICENSE file.

Made with ❤️ by Nick Schlobohm

About

A share registrar solution for the 21st century.

License:GNU Affero General Public License v3.0


Languages

Language:Python 95.1%Language:Dockerfile 4.9%