Skip to content

Dev-testing code changes to chia? #8762

Closed Answered by cross
cross asked this question in Q&A
Discussion options

You must be logged in to vote

@emlowe commented in bug #8565 :

If your harvester is on Linux/MacOS - it's pretty easy. Just run pip install -e ".[dev]", then edit your python, save the file, and run it inside the venv. So

  • sh install.sh
  • pip install -e ".[dev]" - the install.sh may already do this, but it doesn't hurt
  • source ./activate
  • Edit and save your changes
  • chia start harvester

You only need to do the first 3 steps once, then you can edit python and make whatever changes you want as many times as needed.

This can also be done on Windows, but it's a little more work to set. We have new powershell scripts to help setup though you can look at install.ps1.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cross
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant