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
- Host: GitHub
- URL: https://github.com/moeraorg/moera-node
- Owner: MoeraOrg
- License: gpl-3.0
- Created: 2018-12-19T21:44:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-30T03:46:00.000Z (2 months ago)
- Last Synced: 2025-03-30T04:25:00.806Z (2 months ago)
- Topics: backend, blog, cloud, decentralized, java, moera, personal-blog, personal-cloud, rest-api, social-network, spring
- Language: Java
- Homepage:
- Size: 7.81 MB
- Stars: 25
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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