An open API service indexing awesome lists of open source software.

https://github.com/moeraorg/moera-node

Moera node, for issues use: https://github.com/MoeraOrg/moera-issues/issues
https://github.com/moeraorg/moera-node

backend blog cloud decentralized java moera personal-blog personal-cloud rest-api social-network spring

Last synced: 2 months ago
JSON representation

Moera node, for issues use: https://github.com/MoeraOrg/moera-issues/issues

Awesome Lists containing this project

README

        

# Moera Node

## Resources

* Live network: https://web.moera.org
* 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 set up a complete Moera Development Environment:
http://moera.org/development/development-environment.html

## 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 `` with password `` and
an empty database `` owned by this user
(see [detailed instructions][2]).
3. Create a directory ``, where the server will keep media files.
4. Go to the source directory.
5. Create `application-dev.yml` file with the following content
(see [details about configuration][3]):

```yaml
spring:
datasource:
url: jdbc:postgresql:?characterEncoding=UTF-8
username:
password:
flyway:
user:
password:
node:
root-secret:
media:
path:
```

`` must be a long random string of letters and digits
without spaces.

6. 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:

```yaml
server:
port:
```
7. Execute `./run` script.
8. If you use your own [naming server][1], make sure its location is set
correctly in node settings.

[1]: https://github.com/MoeraOrg/moera-naming
[2]: https://moera.org/administration/installation/create-db.html
[3]: https://moera.org/administration/installation/config.html