Skip to content

Commit de165ea

Browse files
committed
Fixed arun-gupta#9
1 parent 6b13a9d commit de165ea

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

instructor/readme.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ Instructor needs:
1818

1919
. Have https://www.virtualbox.org/[Oracle Virtualbox] installed and the install folder added to your PATH environment variable.
2020
. Have the https://github.com/arun-gupta/docker-java/ git repository checked out.
21-
. Have https://msysgit.github.io/ installed on windows
21+
. Have https://msysgit.github.io/ installed on Windows
2222

2323
## Install Docker Client
24+
The docker client is the minimum requirement to have. Download and install by just copying and renaming it accordingly.
2425

2526
[source, text]
2627
----
@@ -35,6 +36,9 @@ And save to c:\Users\<username>\docker\docker.exe
3536
----
3637

3738
## Install Docker compose
39+
We use compose to make the setup for the instructor as easy as possible. The link:https://github.com/arun-gupta/docker-java/blob/master/instructor/docker-compose.yml[docker-compose.yml] contains all the instructions for the tool to setup and start the infrastructure............................................................................
40+
Learn more about it by visiting the link:https://docs.docker.com/compose/[Docker Compose Website].
41+
3842

3943
[source, text]
4044
----
@@ -44,7 +48,6 @@ chmod +x /usr/local/bin/docker-compose
4448
----
4549

4650
## Install Docker-machine
47-
4851
Install the Docker machine client for your environment: https://github.com/docker/machine/releases/[latest releases]
4952

5053
[source, text]
@@ -61,7 +64,7 @@ And save to c:\Users\<username>\docker\docker-machine.exe
6164
For Windows, make sure to add c:\Users\<username>\docker to your %PATH% variable.
6265

6366
## Create Machine
64-
67+
This creates your instructor host which will run the complete infrastructure.
6568
[source, text]
6669
----
6770
docker-machine create --driver virtualbox mymachine
@@ -106,14 +109,14 @@ $ sudo /etc/init.d/docker restart
106109
----
107110

108111
## Create a container with Nexus dependencies
109-
112+
We want to provide the option to run this lab without any internet access at all. So, the instructor machine will contain everything that the attendees will need to run this lab.
110113
[source, text]
111114
----
112115
docker run --name="nexusdata" -v $(pwd):/backup sonatype/nexus:oss bash -c "tar xvf /backup/nexusbackup.tar -C /"
113116
----
114117

115118
## Start the Instructor environment
116-
119+
Use the following compose command to startup the complete environment at once.
117120
_Note: This command should take some time to execute_
118121

119122
[source, text]
@@ -133,7 +136,7 @@ Access the gitlab server [http://localhost:10080/].
133136

134137

135138
## Populate Gitlab with Ticket-monster sources
136-
139+
In order to allow a complete offline experience, we also host our own git repository for the demo application on the instructor machine.
137140
Execute:
138141

139142
[source,text]

0 commit comments

Comments
 (0)