https://github.com/dd-decaf/model-storage
The storage for metabolic models used by the platform
https://github.com/dd-decaf/model-storage
Last synced: 5 months ago
JSON representation
The storage for metabolic models used by the platform
- Host: GitHub
- URL: https://github.com/dd-decaf/model-storage
- Owner: DD-DeCaF
- License: apache-2.0
- Created: 2018-08-24T13:18:22.000Z (almost 7 years ago)
- Default Branch: devel
- Last Pushed: 2020-12-08T14:31:56.000Z (over 4 years ago)
- Last Synced: 2025-01-04T19:13:06.290Z (6 months ago)
- Language: Python
- Size: 273 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# model-storage

[](https://travis-ci.org/DD-DeCaF/model-storage)
[](https://codecov.io/gh/DD-DeCaF/model-storage/branch/master)
[](https://travis-ci.org/DD-DeCaF/model-storage)
[](https://codecov.io/gh/DD-DeCaF/model-storage/branch/devel)## Development
Run `make setup` first when initializing the project for the first time. Type
`make` to see all commands.### Environment
Specify environment variables in a `.env` file. See `docker-compose.yml` for the
possible variables and their default values.* Set `ENVIRONMENT` to either
* `development`,
* `testing`, or
* `production`.
* `SECRET_KEY` Flask secret key. Will be randomly generated in development and testing environments.
* `SENTRY_DSN` DSN for reporting exceptions to
[Sentry](https://docs.sentry.io/clients/python/integrations/flask/).
* `ALLOWED_ORIGINS`: Comma-seperated list of CORS allowed origins.### Updating Python dependencies
To compile a new requirements file and then re-build the service with the new requirements, run:
make pip-compile build