TAAR-lite webservice
Перейти к файлу
Victor Ng 7a2b8441a9 Fixed links to CircleCI and CodeCov in README 2018-03-05 12:03:03 -05:00
bin patched bin/test to run the same test suite as the `make tests` target 2018-02-08 11:04:57 -05:00
docker/hbase Fix docker hbase container 2017-08-15 09:19:47 -04:00
docs Initial commit 2017-08-03 16:42:33 +01:00
static Initial commit 2017-08-03 16:42:33 +01:00
taar_api bumped requirements to use taar3==0.0.24 2018-02-28 09:29:27 -05:00
tests updated test cases for weight augmented results from recommenders 2018-02-23 17:00:03 -05:00
.coveragerc Initial commit 2017-08-03 16:42:33 +01:00
.dockerignore Initial commit 2017-08-03 16:42:33 +01:00
.gitignore Initial commit 2017-08-03 16:42:33 +01:00
Dockerfile Update the TAAR library to version 0.0.11 2017-09-21 13:56:58 -04:00
LICENSE Initial commit 2017-08-03 16:42:33 +01:00
Makefile Initial commit 2017-08-03 16:42:33 +01:00
README.md Fixed links to CircleCI and CodeCov in README 2018-03-05 12:03:03 -05:00
circle.yml Initial commit 2017-08-03 16:42:33 +01:00
contribute.json Update contribute.json 2017-08-15 10:38:36 -04:00
docker-compose.yml Added a proxy for the recommendation manager so that we can safely 2018-02-08 11:04:57 -05:00
manage.py Initial commit 2017-08-03 16:42:33 +01:00
requirements.txt bumped to taar 0.0.27 2018-03-05 11:43:53 -05:00
setup.cfg Initial commit 2017-08-03 16:42:33 +01:00
setup.py bumped mozilla-taar2 to version 0.0.19 2018-02-08 21:16:22 -05:00
tox.ini Reuse system packages when running tox tests 2017-08-21 12:31:04 +01:00

README.md

Taar Api

CircleCI codecov

Dockerflow cookiecutter contains all the boilerplate you need to create a Dockerflow-compliant project.

Instructions for development

  1. Make sure you have docker and docker-compose
  2. 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:

  • a Postgres db to store the application data, defined by DATABASE_URL
  • an optional Redis cache service, defined by CACHE_URL

Updating Taar

The core of taar-service lives in the mozilla-taar python package. These are the steps required to deploy a new version of mozilla-taar on taar-api using hashin:

From the root of the repository:

hashin mozilla-taar==<major>.<minor>.<patch>

Then open a pull request with the changes to requirements.txt. Once it's merged to master, the taar api dev service will automatically update.