Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

libero/content-store-python

Repository files navigation

Libero content store

Development

Building images:

docker-compose build

Running the application:

docker-compose up -d

Running the application locally (to be removed when Docker becomes the primary development mode):

FLASK_APP=content_store/api/api.py PYTHONPATH=. pipenv run flask run

For non-development configuration set APP_SETTINGS environment variable to the module to use. Defaults to content_store.api.config.DevelopmentConfig.

Checking the application is responding:

curl -v localhost:5000/ping

Running tests:

docker-compose run app python -m pytest

Installing a new package:

docker-compose build
docker-compose run --rm venv /bin/sh -c 'pipenv install requests && pipenv lock'

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published