0a153be022
TAAR lite |
||
---|---|---|
bin | ||
taar_api | ||
tests | ||
.coveragerc | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
circle.yml | ||
contribute.json | ||
docker-compose.yml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini |
README.md
TAAR API-lite
Instructions for development
- Make sure you have docker and docker-compose
- make up
Instructions for deployment
The target environment for this project follows the dockerflow conventions. In order to run it correctly, a number of environment variables needs to be set up. The full list of variables can be found in the web section of the docker-compose.yml file. From a services standpoint, this project requires:
- an optional Redis cache service, defined by CACHE_URL
Updating Taar
The core of taar-service lives in the mozilla-taarlite python package. These are the steps required to deploy a new version of mozilla-taarlite on taar-api-lite using hashin:
From the root of the repository:
hashin mozilla-taarlite==<major>.<minor>.<patch>
Then open a pull request with the changes to requirements.txt. Once it's merged to master, the service will automatically update.