Skip to content

Commit e31d3fe

Browse files
committed
updates for images
1 parent 52724df commit e31d3fe

File tree

5 files changed

+27
-6
lines changed

5 files changed

+27
-6
lines changed

Diff for: README.md

+27-6
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ cd tomcat-mysql-c9
1919
## Setting up MySQL
2020
MySQL is already installed.
2121

22-
Run the following from your ```~/workspace/tomcat-mysql-c9``` directory.
22+
Run the following from your `~/workspace/tomcat-mysql-c9` directory.
2323

2424
```
2525
./setupMySql.sh
2626
```
2727

2828
## Setting up Tomcat
29-
The following will download V8 of Tomcat and unpack it to ```./tomcat```
29+
The following will download V8 of Tomcat and unpack it to `./tomcat`
3030

31-
Run the following from your ```~/workspace/tomcat-mysql-c9``` directory.
31+
Run the following from your `~/workspace/tomcat-mysql-c9` directory.
3232

3333
```
3434
./setupTomcat.sh
@@ -37,12 +37,33 @@ Run the following from your ```~/workspace/tomcat-mysql-c9``` directory.
3737

3838
## Building Java classes
3939

40-
Once the Tomcat script is run, the ```survey.war``` file is deployed to ```./tomcat/webapps``` and as the Survey site is
40+
Once the Tomcat script is run, the `survey.war` file is deployed to `./tomcat/webapps` and as the Survey site is
4141
requested, Tomcat extracts the WAR file.
4242

43+
44+
## Make sure you "Run" the site so it expands..
45+
46+
1. Choose "preview" from C9.io interface
47+
2. Preview Running application
48+
3. Popout in New window
49+
3. Change the URL - appending `/survey` to the Server Name
50+
51+
![img1](./img/1.png)
52+
53+
![img2](./img/2.png)
54+
55+
![img3](./img/3.png)
56+
57+
![img4](./img/4.png)
58+
59+
60+
61+
62+
## once the site is run, Tomcat 'expands' the `survey.war` file
63+
4364
This WAR file contains all the content, JSP, Class - and the Java source files.
4465

45-
A helper script allows you to edit the ```*.java``` source files, then build, then restart tomcat.
66+
A helper script allows you build `*.java` source files, then build, then restart tomcat.
4667

4768
```
4869
./buildJava.sh
@@ -52,5 +73,5 @@ A helper script allows you to edit the ```*.java``` source files, then build, th
5273

5374

5475
Note: JSP files if changes are immediately reprocessed and reflected within Tomcat.
55-
Class files, sourced from Java files, requires a "restart" of Tomcat - that is what the ```./tomcat/bin/cataling stop/start``` provides.
76+
Class files, sourced from Java files, requires a "restart" of Tomcat - that is what the `./tomcat/bin/cataling stop/start` provides.
5677

Diff for: img/1.png

4.81 KB
Loading

Diff for: img/2.png

9.95 KB
Loading

Diff for: img/3.png

34.2 KB
Loading

Diff for: img/4.png

28 KB
Loading

0 commit comments

Comments
 (0)