Skip to content

Commit

Permalink
Update running from source steps for foxy-(gh)-farmer
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Oct 29, 2023
1 parent 347259a commit ec477c7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
16 changes: 10 additions & 6 deletions docs/proof-of-spacetime/foxy-farmer/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@
```bash
git clone https://github.com/foxypool/foxy-farmer && cd foxy-farmer
```
2. Install the dependencies:
2. Create a venv:
```bash
pip install .
pyhon3 -m venv venv
```
3. Run using `foxy-farmer`, it will create a default `foxy-farmer.yaml` in the current directory based on your current chia `config.yaml` if available.
3. Install the dependencies:
```bash
venv/bin/pip install .
```
4. Run using `venv/bin/foxy-farmer` (or activate the venv using `source venv/bin/activate` and then just use `foxy-farmer`), it will create a default `foxy-farmer.yaml` in the current directory based on your current chia `config.yaml` if available.

!!! note
If you never set up chia before on this machine you will need to import your 24 word mnemonic using `./foxy-farmer keys add` and ensure the `config.yaml` in `<USER_HOME>/.foxy-farmer/mainnet/config/` includes your PlotNFT in the pool list. This can be achieved by manually copying it from another `config.yaml` or running `./foxy-farmer join-pool`.
If you never set up chia before on this machine you will need to import your 24 word mnemonic using `venv/bin/foxy-farmer keys add` and ensure the `config.yaml` in `<USER_HOME>/.foxy-farmer/mainnet/config/` includes your PlotNFT in the pool list. This can be achieved by manually copying it from another `config.yaml` or running `venv/bin/foxy-farmer join-pool`.

4. Edit the `foxy-farmer.yaml` to your liking and restart foxy-farmer
5. Profit!
5. Edit the `foxy-farmer.yaml` to your liking and restart foxy-farmer
6. Profit!

=== "Using docker"

Expand Down
16 changes: 10 additions & 6 deletions docs/proof-of-spacetime/foxy-gh-farmer/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@
```bash
git clone https://github.com/foxypool/foxy-gh-farmer && cd foxy-gh-farmer
```
3. Install the dependencies:
3. Create a venv:
```bash
pip install .
pyhon3 -m venv venv
```
4. Run using `foxy-gh-farmer`, it will create a default `foxy-gh-farmer.yaml` in the current directory based on your current chia `config.yaml` if available.
4. Install the dependencies:
```bash
venv/bin/pip install .
```
5. Run using `venv/bin/foxy-gh-farmer` (or activate the venv using `source venv/bin/activate` and then just use `foxy-gh-farmer`), it will create a default `foxy-gh-farmer.yaml` in the current directory based on your current chia `config.yaml` if available.

!!! note
If you never set up chia before on this machine you will need to import your 24 word mnemonic using `./foxy-gh-farmer keys add` and ensure the `config.yaml` in `<USER_HOME>/.foxy-gh-farmer/mainnet/config/` includes your PlotNFT in the pool list. This can be achieved by manually copying it from another `config.yaml` or running `./foxy-gh-farmer join-pool`.
If you never set up chia before on this machine you will need to import your 24 word mnemonic using `venv/bin/foxy-gh-farmer keys add` and ensure the `config.yaml` in `<USER_HOME>/.foxy-gh-farmer/mainnet/config/` includes your PlotNFT in the pool list. This can be achieved by manually copying it from another `config.yaml` or running `venv/bin/foxy-gh-farmer join-pool`.

5. Edit the `foxy-gh-farmer.yaml` to your liking and restart foxy-gh-farmer
6. Profit!
6. Edit the `foxy-gh-farmer.yaml` to your liking and restart foxy-gh-farmer
7. Profit!

=== "Using docker"

Expand Down

0 comments on commit ec477c7

Please sign in to comment.