diff --git a/README.md b/README.md index 3cdb8c03e91eddfaa183f9b2f12b27ed93283846..7656211a77aeb1eca4651d816ddf99192ed70d26 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ This is the MIP backend. ## Usage -* Build the project: `./build.sh` +* Build and run the project (including clean target): `./go.sh` +* Build the project (including clean target): `./build.sh` * Run the project: `./run.sh` * Show live logs: `./log.sh` (CTRL+C to quit) * Stop and remove the running container: `./halt.sh` +* Clean Maven cache, etc: `./clean.sh` ## Generate PDF API documentation on build diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000000000000000000000000000000000000..41fc76f1b9a44f265e501ad41d429c13c08dd60e --- /dev/null +++ b/clean.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +./halt.sh +sudo rm -r ./.m2/ +sudo rm -r ./target/ diff --git a/go.sh b/go.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d044fe98b7c6eab6d5f6b38794762d9659f5e56 --- /dev/null +++ b/go.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +./build.sh +./run.sh