Skip to content

Guide for Developers

Lana Ramadan edited this page May 2, 2025 · 5 revisions

0. Development Environment Setup

Make sure you have the following set up:

  • Java JDK 11
  • Git
  • sbt
  • Node.js & npm
  • Yarn (v4.5.1)
  • Docker
  • Python 3.8+
  • PostgreSQL
  • Pgroonga

For more information, please follow the Getting Started Guide to install the required packages and obtain the codebase.

1. Starting ADMAP

  1. Build the project (may take several minutes)
$ cd core
$ ./scripts/build.sh
  1. Start the back-end servers. Run each line in a different terminal
$ ./scripts/server.sh
$ ./scripts/file-service.sh
  1. Start the frontend.
    Run in a third terminal
cd gui
ng serve
  1. Open a browser and access http://localhost:4200.

2. Google OAuth Client Setup

  1. Create an OAuth Client in Google Cloud Console
  • Go to https://console.cloud.google.com/ and sign in.
  • Select or create your ADMAP project.
  • In the left sidebar, choose APIs & Services → Credentials.
  • Click Create Credentials → OAuth client ID.
  • Under Application type, select Web application.
  • Set Name
  • In Authorized JavaScript origins, click Add URI and enter:
  • http://localhost:4200
  • In Authorized redirect URIs, click Add URI and enter:
  • http://localhost:4200
  • Click Create. Copy both the Client ID and Client Secret displayed.
  1. Configure ADMAP Back‑end
  • Open core/amber/src/main/resources/application.conf
  • Update client-id = <YOUR_CLIENT_ID>
  • Restart services

Clone this wiki locally