Python rewrite of TAP's DAS. Functionally the same as DAS from 2016-03-20 (version 0.5.8).
It has full test coverage and some useful integration tests. It doesn't use Kafka, because it doesn't need to.
./build_for_cf.shcf push
- Install Docker
- Preparing a virtual environment, running the tests and quality check:
tox - Running just the tests without quality checks (from virtualenv):
py.test tests/
- Activating virtualenv created by Tox:
source .tox/py34/bin/activate - Bumping the version: (while in virtualenv)
bumpversion --alow-dirty patch - Running the application: (you need to configure addresses in the script first)
./run_app.sh
Due to shenanigans with offline deployments the requirements need to go into two files:
- Add dependencies that need to compiled on the target platform and their dependencies
requirements-native.txt. - Pure Python dependencies should go to
requirements-normal.txt. - Running
./build_for_cf.shwill generaterequirements.txtthat can be used to deploy the app.