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 details)
Built Distribution
File details
Details for the file bl_scrypture-0.1.0a2.tar.gz
.
File metadata
- Download URL: bl_scrypture-0.1.0a2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.7 Linux/6.6.3-gnu
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6d03ebf6f52024deb6239dbdfd5f6f4a78a2500edbafb860544648f066df5f |
|
MD5 | 77886becdf2aa6ad1d24de3df93f1659 |
|
BLAKE2b-256 | 2e0e6c06affa02b93383a396ca706e87264e16a45ce6a3e75551eae8150ef1d2 |
File details
Details for the file bl_scrypture-0.1.0a2-py3-none-any.whl
.
File metadata
- Download URL: bl_scrypture-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.7 Linux/6.6.3-gnu
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e150561f7fd3d8f64b75f3e4a182710cdd4c5d60296f0db5e9e262c1eb00d79 |
|
MD5 | 49811fbd73475167b15519e33cf4b74f |
|
BLAKE2b-256 | 47eb7e84434f48208f126405d3fec01c617a6c3a27cc218f9f4a8be48ad34cf3 |