diff --git a/README.md b/README.md index 227c4eb..da2828a 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,20 @@ This program is still in progress and is currently in a **NOT WORKING** conditio ```sh $ git clone https://github.com/binhonglee/TicketingSystem.git $ cd TicketingSystem +``` + +#### Ubuntu/Mint + +```sh $ ./install.sh ``` +#### Mac + +```sh +$ ./mac_install.sh +``` + ## Building and running it ```sh @@ -40,6 +51,14 @@ $ ./bin/main ## Uninstallation +#### Ubuntu/Mint + ```sh $ ./uninstall.sh ``` + +#### Mac + +```sh +$ ./mac_uninstall.sh +``` diff --git a/mac_uninstall.sh b/mac_uninstall.sh new file mode 100644 index 0000000..117094b --- /dev/null +++ b/mac_uninstall.sh @@ -0,0 +1,6 @@ +brew uninstall jsoncpp +cd ../ +echo "Deleting project files" +rm -rf TicketingSystem +echo "Removing additional installed library" +rm -rf ~/anttasks.jar diff --git a/uninstall.sh b/uninstall.sh index 71517e0..27d720b 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,3 +1,4 @@ +sudo apt-get remove --purge libjsoncpp-dev cd ../ echo "Deleting project files" rm -rf TicketingSystem