Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.33 KB

Moera Naming Server

Resources

Installation instructions

  1. As prerequisites, you need to have Java 17+ and PostgreSQL 9.6+ installed. In all major Linux distributions, you can install them from the main package repository.

  2. Create a PostgreSQL user <username> with password <password> and an empty database <dbname> owned by this user (see detailed instructions).

  3. Go to the source directory.

  4. Create application-dev.yml file with the following content:

    spring:
      datasource:
        url: jdbc:postgresql:<dbname>?characterEncoding=UTF-8
        username: <username>
        password: <password>
      flyway:
        user: <username>
        password: <password>
  5. By default, the server runs on port 8080. If you want it to run on a different port, add these lines to the file above:

    server:
      port: <port number>
  6. Execute ./run script.