Skip to content

Commit 381a265

Browse files
committed
Extend installation section of tutorial
1 parent 8a5406d commit 381a265

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

docs/installation.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,52 @@ After installation of docker execute the following commands to pull the docker i
1515
docker pull tbroteam/tbro_apache
1616
docker pull tbroteam/tbro_demo
1717

18+
Now start the Chado database container and install the schema:
19+
20+
::
21+
22+
docker run -d -e DB_NAME=chado -e DB_USER=tbro -e DB_PW=tbro --name "Chado_DB_4_TBro_official" greatfireball/generic_postgresql_db
23+
sleep 60
24+
docker run --rm -i -t --link Chado_DB_4_TBro_official:CHADO --name "Chado_DB_4_TBro_load_official" tbroteam/generic_chado_db_reload
25+
26+
Now start the database container for the BLAST worker:
27+
28+
::
29+
30+
docker run -d -e DB_NAME=worker -e DB_USER=worker -e DB_PW=worker --name "Worker_DB_4_TBro_official" greatfireball/generic_postgresql_db
31+
32+
Start an ftp server to host the BLAST databases:
33+
34+
::
35+
36+
docker run -d --name "Worker_FTP_4_TBro_official" -e FTP_USER="tbro" -e FTP_PW="ftp" tbroteam/tbro_worker_ftp
37+
38+
Start a worker to execute the BLAST jobs:
39+
40+
::
41+
42+
docker run -d --link Worker_DB_4_TBro_official:WORKER --link Worker_FTP_4_TBro_official:WORKERFTP --name "TBro_Worker_official" tbroteam/tbro_worker
43+
docker exec -i -t TBro_Worker_official /home/tbro/worker_build_installation.sh 2> run_worker_build_installation.err > run_worker_build_installation.log
44+
45+
Finally start and install the main TBro container:
46+
47+
::
48+
49+
docker run -d --link Chado_DB_4_TBro_official:CHADO --link Worker_FTP_4_TBro_official:WORKERFTP --link Worker_DB_4_TBro_official:WORKER --name "TBro_official" -p 80:80 tbroteam/tbro_apache
50+
docker exec -i -t TBro_official /home/tbro/build_installation.sh 2> tbro_build_installation.err > tbro_build_installation.log
51+
52+
You can now access the TBro web interface by pointing your browser to http://localhost
53+
However there is no data loaded, yet.
54+
To load data you can either perform the automatic demo installation (see next section), follow the step-by-step tutorial (next chapter) or load your own data.
1855

1956
Preload demo data
2057
-----------------
2158

59+
Run the following command to fill your TBro instance with demo data from *Cannabis sativa*.
60+
61+
::
62+
63+
docker run --rm -i -t --link Worker_DB_4_TBro_official:WORKER --link Worker_FTP_4_TBro_official:WORKERFTP --link Chado_DB_4_TBro_official:CHADO --name "TBro_Demo_official" tbroteam/tbro_demo
64+
65+
Congratulations, you have a full-featured TBro instance up and running.
66+

0 commit comments

Comments
 (0)