diff --git a/README.md b/README.md index 9f7705843c9..e4d75d66105 100644 --- a/README.md +++ b/README.md @@ -65,37 +65,20 @@ Packages for developers to run and test Audius ## Development -### Prerequisites - -* Install docker & docker-compose [https://docs.docker.com/get-docker](https://docs.docker.com/get-docker) -* Install rust https://rustup.rs/ -* Install nvm & node (v14.17.5) https://github.com/nvm-sh/nvm - -### Running the protocol -```bash -git clone https://github.com/AudiusProject/audius-protocol.git -cd audius-protocol -# Add a line to your rc file of choice -# export PROTOCOL_DIR=$(pwd) - -cd $PROTOCOL_DIR/service-commands -npm i -# This will install `A` to your command-line, an interface to the audius service-commands. -# Ensure ~/.local/bin is in your PATH +``` +# initial setup +curl "https://raw.githubusercontent.com/AudiusProject/audius-protocol/master/dev-tools/setup.sh" | bash -# Install all dependencies -A init +# refresh terminal for docker +exit -# Run the entire stack -A up +# build and pull +audius-compose build # About 10 minutes +docker compose pull -# Run an individual service -A run discovery-provider up -A run discovery-provider down +audius-compose up # About 20 seconds ``` -For more details on the `A` command and options, run `A --help` and checkout the service commands [README](https://github.com/AudiusProject/audius-protocol/tree/master/service-commands). - ## Contributing