Skip to content

Commit

Permalink
Update source.md - Default to stable branch (#5207)
Browse files Browse the repository at this point in the history
* Update source.md

* Update source.md

Removed warning, as requested by nflaig

---------

Co-authored-by: Cayman <[email protected]>
  • Loading branch information
coincashew and wemeetagain authored Mar 16, 2023
1 parent 4028a01 commit 3d937ee
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/install/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Make sure to have [Yarn installed](https://classic.yarnpkg.com/en/docs/install).

## Clone repository

Clone the repo locally.
Clone the repo locally and build from the stable release branch.

```bash
git clone https://github.com/chainsafe/lodestar.git
git clone -b stable https://github.com/chainsafe/lodestar.git
```

Switch to created directory.
Expand All @@ -26,12 +26,6 @@ Switch to created directory.
cd lodestar
```

<!-- prettier-ignore-start -->
!!! warning
`git clone` will check out the default `unstable` branch. If you are running Lodestar in production, we recommend to either use the `stable` branch
by running `git switch stable` or to use a specific version by running `git checkout <version>`, e.g. `git checkout v1.3.0`.
<!-- prettier-ignore-end -->

## Install packages

Install across all packages. Lodestar follows a [monorepo](https://github.com/lerna/lerna) structure, so all commands below must be run in the project root. Use the `--ignore-optional` flag to prevent downloading the Ethereum Consensus spec tests.
Expand Down

0 comments on commit 3d937ee

Please sign in to comment.