2024-09-17 23:57:34 +00:00
|
|
|
# Fediblock Instance [![Build Status](https://drone.manalejandro.com/api/badges/ale/fediblock-instance/status.svg)](https://drone.manalejandro.com/ale/fediblock-instance) [![Quality Gate Status](https://sonar.manalejandro.com/api/project_badges/measure?project=ale%3Afediblock-instance&metric=alert_status&token=sqb_b85f22162c314a3c5d781cf356e90ce304ce6a13)](https://sonar.manalejandro.com/dashboard?id=ale%3Afediblock-instance)
|
2024-09-15 17:44:53 +00:00
|
|
|
|
|
|
|
## Another instance to search public blocks and do stats and more, like one FBA but with NodeJS powers.
|
|
|
|
|
|
|
|
## We need one mongodb instance for federation and one elasticsearch node to storage data.
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
|
|
|
$ yarn or npm i
|
|
|
|
```
|
|
|
|
|
|
|
|
## Build frontend
|
|
|
|
|
|
|
|
```
|
|
|
|
$ yarn build or npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
- edit `lib/constant.js` with your environment preferences
|
|
|
|
|
|
|
|
## Start
|
|
|
|
|
|
|
|
```
|
|
|
|
$ yarn start or npm run start
|
|
|
|
```
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
|
|
```
|
2024-09-15 18:36:55 +00:00
|
|
|
$ docker compose build or docker pull registry.manalejandro.com/fediblock-instance
|
2024-09-15 17:44:53 +00:00
|
|
|
$ docker compose pull
|
|
|
|
$ docker compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
### Best deploy with subdomain in one HTTPS proxy like nginx or apache throught 4000/tcp port
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|