Debian/Ubuntu
This guide will help you to set up a Debian or Ubuntu workstation to work with the code and develop Opteryx.
Intel/x86 is the recommended environment, however Opteryx does run on ARM (e.g. a Raspberry Pi) and some parts of the guide may require additional steps in order to work correctly.
Setting Up
1. Install Python
3.11 recommended
We recommend using pyenv to install and manage Python environments, particularly in development and test environments.
We follow this guide to set up Python on our Raspberry Pi
2. Install pip
3. Install Git
4. Install Rust
5. Clone the Repository
6. Install Dependencies
7. Build Binaries
Running Tests
To run the regression and unit tests:
First, install the optional dependencies, on most devices:
On ARM-based devices (like Raspberry Pi):
Then run the regression tests.
Note
Some tests require external services like GCS and Memcached and may fail if these have not been configured.