Name Last modified Size Description
Parent Directory - akris-genesis-99999...> 2023-07-25 16:01 449K akris-genesis-99999...> 2023-07-25 16:01 455
Akris implements the Pest protocol. It provides a station library that can be used to connect to a pest network. It also provides a client library that can be used to issue commands to a station.
This document is a work in progress.
This guide assumes a working pentacle chroot environment
Download Akris patches and seals from v.alethepedia.com/akris.
mkdir -p patches mkdir -p seals curl -o patches/akris-genesis-VERSION.vpatch http://v.alethepedia.com/akris/akris-genesis-VERSION.vpatch curl -o seals/akris-genesis-VERSION.vpatch.thimbronion.sig http://v.alethepedia.com/akris/akris-genesis-VERSION.vpatch.thimbronion.sig
Pentacle v expects gpg public keys to be found in ~/wot.
Using the bash implementation of v provided in pentacle, press Akris with the leaf you wish to target (usually the patch with the lowest version number):
v press akris patches/akris-genesis-99999.vpatch
wget https://v.alethepedia.com/akris/akris-genesis-99999.tar.gz tar zxvf akris-genesis-99999.tar.gz cd akris python -m venv venv source venv/bin/activate pip install -e .
pip install akris
In the akris project root directory, run:
cd akris python -m venv venv source venv/bin/activate
pip install -e .
There are several command line options you'll need to set. You can get a list of them by running akris with the --help option:
This will allow tests to find the akris package, while still allowing you to edit the source code and have the changes be reflected immediately without reinstalling.
pip install -e .
pip install .[dev]
caribou create -d akris/migrations <migration name>
sudo apt-get install patchelf
python3 -m build
The output will be in the dist/ directory. Upload to PyPI with twine:
python3 -m twine upload dist/*