From e43e5047e6bfd45012b5e38d5f5acb644890f1b7 Mon Sep 17 00:00:00 2001 From: Watchmaker Date: Thu, 29 Aug 2024 14:22:06 -0700 Subject: [PATCH] Switching back from v111 branch to main branch for subtensor node installation. --- docs/subtensor-nodes/using-docker.md | 21 +++++---------------- docs/subtensor-nodes/using-source.md | 7 ++----- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/docs/subtensor-nodes/using-docker.md b/docs/subtensor-nodes/using-docker.md index 9e657b27..1888fc3e 100644 --- a/docs/subtensor-nodes/using-docker.md +++ b/docs/subtensor-nodes/using-docker.md @@ -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: diff --git a/docs/subtensor-nodes/using-source.md b/docs/subtensor-nodes/using-source.md index 17f0dddf..ba01b366 100644 --- a/docs/subtensor-nodes/using-source.md +++ b/docs/subtensor-nodes/using-source.md @@ -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: