Read more about Moera at https://moera.org
Learn more about Moera nodes: http://moera.org/overview/node.html
Bugs and feature requests: https://github.com/MoeraOrg/moera-issues/issues
How to setup a complete Moera Development Environment: http://moera.org/development/setup/index.html
As prerequisites you need to have Java 11+ and PostgreSQL 9.6+ installed. In all major Linux distributions you can install them from the main package repository.
Create a PostgreSQL user
<password>and an empty database
<dbname>owned by this user (see detailed instructions here: http://moera.org/development/setup/create-db.html).
Create a directory
<media>, where the server will keep media files.
Go to the source directory.
src/main/resources/application-dev.ymlwith the following content:
spring: datasource: url: jdbc:postgresql:<dbname>?characterEncoding=UTF-8 username: <username> password: <password> flyway: user: <username> password: <password> node: root-secret: <secret> media: path: <media>
<secret>must be a long random string of letters and digits without spaces.
By default, the server runs on port 8081. If you want it to run on a different port, add these lines to the file above:
server: port: <port number>
If you use your own naming server, make sure its location is set correctly in node settings.