Skip to content

Commit 889944d

Browse files
authored
Update testing/README.md
1 parent fc9ddad commit 889944d

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

tests/README.md

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
21
# Testing SynBioHub
32

43
## Running the test suite
54

65
First, install dependencies. The dependencies are python 3, the python packages in tests/test_requirements.txt, and jq.
76

87
Ubuntu:\
9-
`sudo apt-get install jq`\
10-
`sudo apt-get install -y python3 python3-pip`\
11-
`sudo pip3 install -r tests/test_requirements.txt`\
8+
```bash
9+
sudo apt-get install jq python3 python3-pip python-is-python3 python3-venv
10+
11+
# Install Chrome for the dependancies that pypeter needs
12+
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
13+
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
14+
sudo apt update
15+
sudo apt install google-chrome-stable libxss1
16+
17+
cd tests
18+
19+
python3 -m venv venv
20+
. venv/bin/activate
21+
pip3 install -r test_requirements.txt
22+
23+
cd ..
24+
```
1225

1326
Then build a docker image from the local version of synbiohub using
1427
`docker build -t synbiohub/synbiohub:snapshot-standalone -f docker/Dockerfile .`

0 commit comments

Comments
 (0)