Windows
This guide will help you to set up a Windows workstation to work with the code and develop Opteryx.
If using WSL, refer to the Debian/Ubuntu set up guide. Initial set up of the WSL component is not covered in these guides.
Intel/x86 is the recommended environment, it has not been confirmed that Opteryx operates as expected on ARM Windows - it does operate on Linux and Mac ARM.
Setting Up
1. Install Python
3.11 recommended
We recommend using pyenv to install and manage Python environments, particularly in development and test environments.
2. Install pip
3. Install Git
Follow the instructions at https://git-scm.com/download/win
4. Install Rust
Follow the instructions at https://rustup.rs/
5. Clone the Repository
5. Install Dependencies
6. Build Binaries
Running Tests
To run the regression and unit tests:
First, install the optional dependencies:
Then run the regression tests.
Note
Some tests require external services like GCS and Memcached and may fail if these have not been configured.