No description
Find a file
2020-05-04 09:30:40 +02:00
__pycache__ Merge branch 'master' of https://github.com/me-cedric/datathon-covid-api 2020-04-18 14:57:56 +02:00
data database save é docs 2020-04-18 19:12:05 +02:00
images extract nii files and nii.gz 2020-04-19 03:50:17 +02:00
nginx remove .htpasswd from dockerfile nginx 2020-04-22 03:56:11 -04:00
segmentation@60d41ff7df update submodule segmentation 2020-05-04 09:30:40 +02:00
.gitignore pipenv & black 2020-04-18 14:57:14 +02:00
.gitmodules change submodule link to http 2020-04-23 03:36:33 -04:00
api.py fix 500 error for dicom 2020-04-28 21:33:20 +02:00
dicom2png.py fix 500 error for dicom 2020-04-28 21:33:20 +02:00
docker-compose.yml update redis publish channel 2020-04-23 08:02:25 +02:00
Dockerfile build: repair opencv build 2020-04-19 08:10:20 +02:00
nii2png.py dicom support 2020-04-27 22:31:47 +02:00
Pipfile dicom support 2020-04-27 22:31:47 +02:00
Pipfile.lock dicom support 2020-04-27 22:31:47 +02:00
README.md readme 2020-04-19 09:22:14 +02:00
settings.py black and result nullable 2020-04-19 14:35:50 +02:00
setup.sh Add sudo for docker-compose 2020-04-24 11:22:50 +02:00
standardization.py black and result nullable 2020-04-19 14:35:50 +02:00
start.sh add script start and stop 2020-04-23 04:31:50 -04:00
stop.sh add script start and stop 2020-04-23 04:31:50 -04:00
traefik.toml ci: add docker 2020-04-18 17:07:58 +02:00

datathon-covid-api

py -m pip install -U pip pipenv
pipenv install
pipenv shell
python api.py

deployment

Use a Linux container/WSL

sudo docker-compose up -d --remove-orphans --build

To deploy on an azure server

rsync -av . datathon@gpuvm1v100.eastus.cloudapp.azure.com:~/Desktop/datathon-covid-api
ssh datathon@gpuvm1v100.eastus.cloudapp.azure.com "cd ~/Desktop/datathon-covid-api && sudo docker-compose up -d --remove-orphans --build"