Amiga-Z Wiki

β€œModern tools for old-school communities.”

User Tools

Site Tools


robinnet:install

This is an old revision of the document!


Installing RobinNet

RobinNet is a Python application designed to run on Linux systems.


Requirements

Python 3.10+

Required packages:

  • fastapi
  • uvicorn
  • requests

Install dependencies:

pip install fastapi uvicorn requests

Project Layout

Example layout:

robinnet/
β”œβ”€β”€ robinnet/
β”‚   β”œβ”€β”€ db.py
β”‚   β”œβ”€β”€ models.py
β”‚   β”œβ”€β”€ cli.py
β”‚   β”œβ”€β”€ api.py
β”‚   β”œβ”€β”€ sync.py
β”‚   β”œβ”€β”€ main.py
β”‚   └── daemon.py
└── data/

Initialize a Node

Create a database and node identity:

python -m robinnet.cli \
  --db ./data/node.db \
  init-node \
  --name alpha \
  --operator "Rich"

Start API Server

ROBINNET_DB=./data/node.db \
python -m robinnet.main

Server will start on: http://localhost:8080

Installing RobinNet

RobinNet is a Python application designed to run on Linux systems.


Requirements

Python 3.10+

Required packages:

  • fastapi
  • uvicorn
  • requests

Install dependencies:

pip install fastapi uvicorn requests

Project Layout

Example layout:

robinnet/
β”œβ”€β”€ robinnet/
β”‚   β”œβ”€β”€ db.py
β”‚   β”œβ”€β”€ models.py
β”‚   β”œβ”€β”€ cli.py
β”‚   β”œβ”€β”€ api.py
β”‚   β”œβ”€β”€ sync.py
β”‚   β”œβ”€β”€ main.py
β”‚   └── daemon.py
└── data/

Initialize a Node

Create a database and node identity:

python -m robinnet.cli \
  --db ./data/node.db \
  init-node \
  --name alpha \
  --operator "Rich"

Start API Server

ROBINNET_DB=./data/node.db \
python -m robinnet.main

Server will start on:

Installing RobinNet

RobinNet is a Python application designed to run on Linux systems.


Requirements

Python 3.10+

Required packages:

  • fastapi
  • uvicorn
  • requests

Install dependencies:

pip install fastapi uvicorn requests

Project Layout

Example layout:

robinnet/
β”œβ”€β”€ robinnet/
β”‚   β”œβ”€β”€ db.py
β”‚   β”œβ”€β”€ models.py
β”‚   β”œβ”€β”€ cli.py
β”‚   β”œβ”€β”€ api.py
β”‚   β”œβ”€β”€ sync.py
β”‚   β”œβ”€β”€ main.py
β”‚   └── daemon.py
└── data/

Initialize a Node

Create a database and node identity:

python -m robinnet.cli \
  --db ./data/node.db \
  init-node \
  --name alpha \
  --operator "Rich"

Start API Server

ROBINNET_DB=./data/node.db \
python -m robinnet.main

Server will start on: http://localhost:8000


Start Background Worker

Optional daemon:

ROBINNET_DB=./data/node.db \
python -m robinnet.daemon

The daemon performs:

  • periodic sync
  • message expiration
  • maintenance tasks
robinnet/install.1773242584.txt.gz Β· Last modified: by freedomotter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki