robinnet:install
This is an old revision of the document!
Table of Contents
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
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
