You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to contribute to the project, starting with some minor fixes (e.g. typing), but I didn't find any instruction for a local dev setup. So I had to do my own trial and error:
pytest tests/ -> ModuleNotFoundError: No module named 'surrealdb.rust_surrealdb'
./scripts/run_tests.sh -> ModuleNotFoundError: No module named 'docker'
pip install docker
./scripts/run_tests.sh -> ModuleNotFoundError: No module named 'surrealdb.rust_surrealdb'
cargo build
pip install -e .
./scripts/run_tests.sh -> Succes!
So nothing crazy was required to get it working, but it would be nice if the required steps were briefly documented in the CONTRIBUTING.MD, rather than that everyone has to go through this trial&error process.
Make contributing easier, and you'll get more contributions 😄
Is there an existing issue for this?
I have searched the existing issues
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
So nothing crazy was required to get it working, but it would be nice if the required steps were briefly documented in the CONTRIBUTING.MD, rather than that everyone has to go through this trial&error process.
Could you list the exact steps on how exactly does one get started (minus the trial and errors steps) ? I'm trying to build a basic Dev Container configuration to get started via Codespaces, so wanted to give these steps a go.
Description
I wanted to contribute to the project, starting with some minor fixes (e.g. typing), but I didn't find any instruction for a local dev setup. So I had to do my own trial and error:
pip install -r requirements.txt -r dev_requirements.txt
.pytest tests/
->ModuleNotFoundError: No module named 'surrealdb.rust_surrealdb'
./scripts/run_tests.sh
->ModuleNotFoundError: No module named 'docker'
pip install docker
./scripts/run_tests.sh
->ModuleNotFoundError: No module named 'surrealdb.rust_surrealdb'
cargo build
pip install -e .
./scripts/run_tests.sh
-> Succes!So nothing crazy was required to get it working, but it would be nice if the required steps were briefly documented in the CONTRIBUTING.MD, rather than that everyone has to go through this trial&error process.
Make contributing easier, and you'll get more contributions 😄
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: