https://github.com/genentech/spex_ms_omero_image_downloader
https://github.com/genentech/spex_ms_omero_image_downloader
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/genentech/spex_ms_omero_image_downloader
- Owner: Genentech
- License: other
- Created: 2022-09-13T00:18:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T16:02:44.000Z (over 1 year ago)
- Last Synced: 2025-02-05T03:27:49.678Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MicroService Splitter
## Development environment
1. Redis
clone https://code.roche.com/spex/backend into the parent directory.
```
$ cd ./backend/micro-services/redis
$ docker build --pull --rm -t spex_redisjson .
$ docker run -p 6379:6379 --name spex_redisjson -d spex_redisjson
```
2. ArangoDB
`$ docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=pass --name spex_arangodb -d arangodb:3.7.7`
will be set default user/password
```
user: root
pass: pass
```
3. Copy .env.development to .env.development.local
4. Set the following variables:
```
ARANGODB_DATABASE_URL=http://localhost:8529
REDIS_HOST=localhost
REDIS_PORT=6379
DATA_STORAGE=${TEMP}\\DATA_STORAGE
```
5. Run
```
$ pipenv install
$ pipenv shell
$ export MODE=development
$ python ./app.py
```