mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-10-30 05:03:42 +00:00
36f0b8151a5cfb7e0be6d1a954e13b3adce98a21
FFXIV BiS
Service which allows to manage savage loot distribution easy.
Installation and usage
This service requires python >= 3.7. For other dependencies see setup.py.
In general installation process looks like:
python setup.py build
python setup.py test # if you want to run tests
Service can be run from src directory by using command:
python -m service.application.application
To see all available options type --help.
Web service
REST API documentation is available at http://0.0.0.0:8000/api-docs. HTML representation is available at http://0.0.0.0:8000.
Note: host and port depend on configuration settings.
Configuration
-
settingssectionGeneral project settings.
include: path to include configuration directory, string, optional.logging: path to logging configuration, seelogging.inifor reference, string, optional.database: database provide name, string, required. Allowed values:sqlite,postgres.priority: methods ofPlayerclass which will be called to sort players for loot priority, space separated list of strings, required.
-
ariyalasectionSettings related to ariyala parser.
ariyala_url: ariyala base url, string, required.request_timeout: xivapi request timeout, float, optional, default 30.xivapi_key: xivapi developer key, string, optional.xivapi_url: xivapi base url, string, required.
-
authsectionAuthentication settings.
enabled: whether authentication enabled or not, boolean, required.root_username: username of administrator, string, required.root_password: md5 hashed password of administrator, string, required.
-
postgressectionDatabase settings for
postgresprovider.database: database name, string, required.host: database host, string, required.password: database password, string, required.port: database port, int, required.username: database username, string, required.migrations_path: path to database migrations, string, required.
-
sqlitesectionDatabase settings for
sqliteprovider.database_path: path to sqlite database, string, required.migrations_path: path to database migrations, string, required.
-
websectionWeb server related settings.
host: address to bind, string, required.port: port to bind, int, required.templates: path to directory with jinja templates, string, required.
Description
Languages
Scala
78.8%
HTML
19.5%
JavaScript
1.1%
Python
0.4%
Makefile
0.2%