Getting Started With Reach
Reach is designed to work on POSIX systems with make, Docker, and Docker Compose installed. The best way to install Docker on Mac and Windows is with Docker Desktop.
To confirm everything is installed try to run the following three commands and see no errors
$ make --version
$ docker --version
$ docker-compose --version
If you’re using Windows, consult the guide to using Reach on Windows.
Once you've confirmed that the Reach prerequisites are installed, choose a directory for this project such as:
$ mkdir -p ~/reach && cd ~/reach
Clone the repository using the following commands.
git clone https://github.com/algorand/reach-auction.git
Navigate to the project folder
cd reach_auction
Next, download Reach by running
$ curl https://docs.reach.sh/reach -o reach ; chmod +x reach
Confirm the download worked by running
$ ./reach version
Since Reach is Dockerized, when first used, the images it uses need to be downloaded. This will happen automatically when used for the first time, but can be done manually now by running
$ ./reach update
You’ll know that everything is in order if you can run
$ ./reach compile --help
To determine the current version is installed, run
$ ./reach hashes
Output should look similar to:
reach: fb449c94
reach-cli: fb449c94
react-runner: fb449c94
rpc-server: fb449c94
runner: fb449c94
devnet-algo: fb449c94
devnet-cfx: fb449c94
devnet-eth: fb449c94
All of the hashes listed should be the same and then visit the #releases channel on the Reach Discord Server to see the current hashes.
More information: Detailed Reach install instructions can be found in the docs.