The easiest way to install the webservice is by using Docker.
Clone the project
git clone https://github.com/Asrez/WhereMoneyAPI.git
Change directory
cd WhereMoneyAPI
Open up .env
file to set env variables
vi ./.env
⚠️ Make sure to change sensitive data in .env file or your data might be as risk...
docker-composer
docker-compose up
To run in the background
docker-compose up -d
Make sure you have openjdk >= 11 installed on your machine.
Make sure you have PostgreSQL database installed and running on your machine.
You are going to need a database and a user with privileges to that database.
Clone the project
git clone https://github.com/Asrez/WhereMoneyAPI.git
Change directory
cd WhereMoneyAPI
Open up application.yml stored in ./src/main/resources/
file to set variables
vi ./src/main/resources/application.yml
Simply run the jar file with --spring.config.location
specified
java -jar jars/where-money-api.jar --spring.config.location=./src/main/resources/application.yml