Execution platform, import of OpenStreetMap data, then processing with NoiseModelling on server (or SLURM compatible computing cluster) with restricted access using OpenID (google for now).
This example requires that you configure a Google API resource before running.
-
Open the Google API Credentials Console
-
Select
Create
in the dialog box to create a new API project. -
Give the project a name.
-
In the
Create credentials
dropdown selectOAuth client ID
. -
Follow the prompts for creating a client id.
-
When prompted for Application Type select
Web Application
-
In the
Authorized redirect URIs
add:http://localhost:9590/authenticator?client_name=GoogleOidcClient
-
Click the
Create
button. -
Copy the newly created client id and client secret for use in the example.
Define memory to use with the command
export _JAVA_OPTIONS="-Xms4000m -Xmx28000m"
Go into computation_core folder cd computation_core
then run (in order to push dependencies files into computation_core/build/install/computation_core/lib
)
../gradlew clean build installDist --refresh-dependencies
Go into project root folder cd ..
Run ./gradlew platform:run
Edit the configuration file located in platform/build/resources/main/config.yaml
with the auth credentials. Add your own OAuth id into the admin list in order to be able to authorize users request.
Run ./gradlew platform:run
Once the application has started, point your web browser to http://localhost:9590 to access the platform