Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 28 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
# Welcome to DevOpsCon CI/CD demo repo
# 🌟 Welcome to DevOpsCon CI/CD demo repo

## This repository contains basic Maven project with Hello-World Java war for CI/CD workshop
In order to make it work, please follow the instructions below:

> [!IMPORTANT]
> Make sure you have JAVA 21 (<b>JDK</b> and not <b>JRE standalone</b>) running on your laptop
In order to make it work, please follow the instructions below:

> [!IMPORTANT]
> Make sure you have JAVA 21 (**JDK** and not **JRE standalone**) running on your laptop
> ————————————————————————

---

### ⚙️ Setup Instructions

<ul>
<li>Get Tomcat 9 (not version 10) - prefer the Core > Zip from <a href=https://tomcat.apache.org/download-90.cgi target=new>here</a></li>
<li>Configure under <TOMCAT DIR>/conf/tomcat-users.xml the code below</li>
<li>[LINUX / MAC] Please make sure you have running permissions on the /bin/ directory and run chmod +x *.sh</li>
<li>Restart tomcat [TOMCAT DIR]/bin/shutdown.sh & startup.sh (for non-Windows OS) or /bin/shutdown.bat & startup.bat</li>
<li>The Tomcat URL is <a href=http://localhost:8080/>http://localhost:8080/</a></li>
<li>The application URL is <a href=http://localhost:8080/helloworld/>http://localhost:8080/helloworld/</a></li>
<li>Get Tomcat 9 (not version 10) - prefer the Core > Zip from <a href="https://tomcat.apache.org/download-90.cgi" target="new">here</a></li>
<li>Configure under &lt;TOMCAT DIR&gt;/conf/tomcat-users.xml the code below</li>
<li>[LINUX / MAC] Please make sure you have running permissions on the /bin/ directory and run <code>chmod +x *.sh</code></li>
<li>Restart tomcat [TOMCAT DIR]/bin/shutdown.sh &amp; startup.sh (for non-Windows OS) or /bin/shutdown.bat &amp; startup.bat</li>
<li>The Tomcat URL is <a href="http://localhost:8080/">http://localhost:8080/</a></li>
<li>The application URL is <a href="http://localhost:8080/helloworld/">http://localhost:8080/helloworld/</a></li>
</ul>

> ```xml
> <tomcat-users>
> <role rolename="manager-gui" />
> <role rolename="admin-gui" />
> <role rolename="manager-script" />
> <user username="admin" password="admin" roles="manager-gui,admin-gui,manager-script" />
> </tomcat-users>
> ```

---

### 📝 XML Configuration

```xml
<tomcat-users>
<role rolename="manager-gui" />
<role rolename="admin-gui" />
<role rolename="manager-script" />
<user username="admin" password="admin" roles="manager-gui,admin-gui,manager-script" />
</tomcat-users>