Skip to content
/ vault Public

Microservice for storing queries, user preferences and stuff

License

Notifications You must be signed in to change notification settings

adsabs/vault

Repository files navigation

vault

Travis Status Coverage Status

Microservice for storing queries, user preferences and stuff

Setup:

(will wary based on the API deployment strategy) In minimal, you need to have a database and OAUTH_CLIENT_TOKEN

  • create database create database vault; alter database vault owner to vault;

  • create modified vault_service/local_config.py, update (at least) VAULT_OAUTH_CLIENT_TOKEN = '.......' SQLALCHEMY_DATABASE_URI = "....."

  • run alembic upgrade head

    • note: you need alembic and all dependencies in your python (virtualenv python; pip install -r requirements; source python/bin/activate)

Usage:

(You can run the service locally: python cors.py)

/query