An event store.
Project description
Scrypture – a standalone event store
Install
TODO
Configure
The application is configured using environment variables.
The available configuration variables are:
SCRYPTURE_READ_ONLY
SCRYPTURE_DSN
SCRYPTURE_REDIS_HOST
SCRYPTURE_REDIS_PORT
SCRYPTURE_REDIS_DB
Initialise
Once configured, you must initialise the database with the dedicated command:
$ scrypture init-db
Run
It requires Redis:
docker run --rm --name scrypture-redis -p 6379:6379 redis
As a Flask application, it can be run using any WSGI server, for instance, with Gunicorn:
$ gunicorn \
--access-logfile="-" \
--worker-class gevent \
--workers 4 \
--bind 127.0.0.1:5000 \
"bl_scrypture.configuration.wsgi:app()"
Notice that we are using gevent
workers as some clients might follow some streams.
Contribute
See CONTRIBUTING.md to set up a development environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bl_scrypture-0.1.0a2.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for bl_scrypture-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e150561f7fd3d8f64b75f3e4a182710cdd4c5d60296f0db5e9e262c1eb00d79 |
|
MD5 | 49811fbd73475167b15519e33cf4b74f |
|
BLAKE2b-256 | 47eb7e84434f48208f126405d3fec01c617a6c3a27cc218f9f4a8be48ad34cf3 |