Mercurial > hg > orthanc-tests
comparison PerfsDb/README.md @ 159:616da104a996
fix for ubuntu 18.04
author | am@osimis.io |
---|---|
date | Fri, 17 Aug 2018 14:49:59 +0200 |
parents | df1f9946571c |
children | 6995d5d12d88 |
comparison
equal
deleted
inserted
replaced
158:df1f9946571c | 159:616da104a996 |
---|---|
20 we'll mainly use very small DICOM files (without pixels data). | 20 we'll mainly use very small DICOM files (without pixels data). |
21 | 21 |
22 Prerequisites | 22 Prerequisites |
23 ------------- | 23 ------------- |
24 | 24 |
25 - install standard tools | |
26 ```bash | |
27 sudo apt-get install -y mercurial wget curl | |
28 ``` | |
29 | |
25 - install python3, pip3 and pipenv | 30 - install python3, pip3 and pipenv |
26 | 31 |
27 ```bash | 32 ```bash |
28 sudo apt-get install -y python3 python3-pip python3-venv | 33 sudo apt-get install -y python3 python3-pip python3-venv |
29 ``` | 34 ``` |
30 | 35 |
31 - [install Docker-CE](https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository) | 36 - [install Docker-CE](https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository) |
32 - [install docker-compose](https://docs.docker.com/compose/install/) | |
33 - have access to docker without typing `sudo`. This is done by typing: `sudo groupadd docker` and `sudo usermod -aG docker $USER` | 37 - have access to docker without typing `sudo`. This is done by typing: `sudo groupadd docker` and `sudo usermod -aG docker $USER` |
34 - have Orthanc and its DB plugins natively installed or compiled on your host system | 38 - have Orthanc and its DB plugins natively installed or compiled on your host system |
35 | 39 |
36 Once all prerequisites are installed, you should always execute all commands from a python virtual-env. To initialize the virtual env the first time: | 40 Once all prerequisites are installed, you should always execute all commands from a python virtual-env. To initialize the virtual env the first time: |
37 | 41 |
64 Runing tests on multiple DBs | 68 Runing tests on multiple DBs |
65 ----------------- | 69 ----------------- |
66 | 70 |
67 ```bash | 71 ```bash |
68 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/orthanc-build-release/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny | 72 python Run.py --orthanc-path=/home/amazy/builds/orthanc-build-release/ --plugins-path=/home/amazy/builds/orthanc-build-release/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny |
73 | |
74 python Run.py --orthanc-path=/data/orthanc-binaries/ --plugins-path=/data/orthanc-binaries/ --run --pg9-tiny --pg10-tiny --pg11-tiny --mysql-tiny --sqlite-tiny --mssql-tiny | |
75 | |
69 ``` | 76 ``` |