Skip to content

Commit

Permalink
Merge pull request #2 from ctcampbell/master
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
ctcampbell authored Apr 17, 2019
2 parents 7818f6c + 9e52989 commit 65ce7a8
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,33 @@ Blab-a-Gag is a fairly simple forum type application which allows:
`/register` allows you to create a new user account

`/tools` shows a tools page that shows a fortune or lets you ping a host.



## Build

To build Verademo [Maven](https://maven.apache.org) is required.

`mvn package` will build the web application and output a war file to `target/verademo.war`. This war file can be uploaded to Veracode for static analysis.

## Configure

Build and installation requires [Maven](https://maven.apache.org), [MySQL](https://www.mysql.com/) and [Tomcat](https://tomcat.apache.org/).
To run Verademo [MySQL](https://www.mysql.com/) and [Tomcat](https://tomcat.apache.org/) are required.

The simplest way to aquire these on MacOS is via [Homebrew](http://brew.sh/). Install Homebrew then:

brew install maven mysql tomcat
brew install mysql tomcat

### Database

Set up a database in MySQL called `blab` with a user of `blab` and password `z2^E6J4$;u;d`

## Run

`mvn package` will build the web application and output a war file to `target/verademo.war`

Deploy the resulting war file to Tomcat (or run a SAST scan on it).
Deploy the build output war file to Tomcat.

Open `/reset` in your browser and follow the instructions to prep the database

Login with your username/password as defined in `Utils.java`
Login with a username/password as defined in `Utils.java`

## AWS Deployment

Expand Down

0 comments on commit 65ce7a8

Please sign in to comment.