PyOpenD6
Restful Python API based on OpenD6.
License
Resource categories are as follows:
-
All source code is licensed the MIT license.
-
All documentation is licensed under a Creative Commons License.
-
All OpenD6 content is licensed under the Open Game License.
Installing
From Source Code
git clone https://gitlab.com/HexGearInc/pyopendsix.git
cd pyopendsix
Virtualenv
virtualenv venv
source venv/bin/activate
python setup.py install
Docker-compose
docker-compose build
PyPI
pip install pyopendsix
Running
Flask
After installing on the local system,
python -m pyopendsix
Gunicorn
Running directly from the git repository,
gunicorn -b0.0.0.0:6000 wsgi:api
Docker
Docker Hub
Images can be run directly from Docker Hub,
docker run hexgearinc/pyopendsix
Docker-compose
Running directly from the git repository,
docker-compose up