Quickstart
If you are familiar with docker, this is the preferred method to start else you can try running via Java or from source.
Docker
The docker locatorAPI project is able to build docker images, provide scripts and a docker-compose.yml for launching pre-built images. the quickest start is to run the latest image directly:
docker run -d -p 8181:8181 psi-mis/locatorAPI
Java
If you have Java 8 or higher installed, the quickest way to get started is to fetch the latest release as a self contained executable jar:
curl -sSL https://github.com/psi-mis/providerLocatorAPI.git | bash -s
java -jar locatorAPI.jar
Running from Source
LocatorAPI can be run from source if you are developing new features. To achieve this you’ll need to get LocatorAPI’s source and build it
git clone https://github.com/psi-mis/providerLocatorAPI.git
cd locatorAPI
./mvnw locatorAPI clean install
java -jar ./locatorAPI.jar
Deploying war file
If you want to deploy the war file, you can download them from the release section in our github page and move it to the webapps folder of your apache server.
Configuring LocatorAPI
You can overwrite the LocatorAPI configuration by placing the .env file in root installation folder of your LocatorAPI. For .env file copy the code below and update its corresponding values as required