Skip to content

Switching back from v111 branch to main branch for subtensor installation #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 5 additions & 16 deletions docs/subtensor-nodes/using-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,34 +42,23 @@ Navigate into the Subtensor directory:
cd subtensor
```

## Step 5: Switch to `v1.1.1` branch

:::tip temporary fix
The use of `v1.1.1` branch is a temporary fix for this step while we resolve some installation issues using the `main` branch.
:::
## Step 5: Prepare to run

Execute the below commands in this order:

Switch to the `v1.1.1` branch:
Ensure you are on the `main` branch. If not, switch to it:

```bash
git checkout v1.1.1
git checkout main
```

Pull the latest `v1.1.1` branch contents:
Pull the latest `main` branch contents:

```bash
git pull
```

## Step 6: Edit the `docker-compose.yml` file

Change line 11 of the [subtensor/docker-compose.yml](https://github.com/opentensor/subtensor/blob/v1.1.1/docker-compose.yml#L11) as below:

- **from**: `image: ghcr.io/opentensor/subtensor:latest`
- **to**: `image: ghcr.io/opentensor/subtensor:v1.1.1`

## Step 7: Stop and clean Docker environment
## Step 6: Stop and clean Docker environment

Stop any currently running Docker containers and clean up the Docker environment:

Expand Down
7 changes: 2 additions & 5 deletions docs/subtensor-nodes/using-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,11 @@ git clone https://github.com/opentensor/subtensor.git
```bash
cd subtensor
```
3. Switch to `v1.1.1` branch:

:::tip temporary fix
The use of `v1.1.1` branch is a temporary fix for this step while we resolve some installation issues using the `main` branch.
:::
3. Ensure you are on the `main` branch. If not, switch to it:

```bash
git checkout v1.1.1
git checkout main
```

4. Remove any previous chain state:
Expand Down