Install docker.
Install Node.
Install yarn.
yarn global add @vue/cli-service
Install axel for downloading keys:
brew install axel
brew install gnu-sed
brew install gettext
brew link --force gettext
Install the latest rust version (>= 1.32) https://www.rust-lang.org/tools/install:
rustc --version
rustc 1.32.0-nightly (21f268495 2018-12-02)
jq is used to work with json when managing DigitalOcean.
brew install jq
brew install gettext
brew link --force gettext
Install psql
CLI tool to interact with postgres.
cargo install diesel_cli --no-default-features --features postgres
Edit the lines below and add them to your shell profile file (e.g. ~/.bash_profile
):
# Add path here:
export ZKSYNC_HOME=/path/to/zksync
export PATH=$ZKSYNC_HOME/bin:$PATH
# If you're like me, uncomment:
# cd $ZKSYNC_HOME
Autocomplete configuration.
bash
:
complete -W "\`grep -oE '^[a-zA-Z0-9_.-]+:([^=]|$)' $ZKSYNC_HOME/Makefile | sed 's/[^a-zA-Z0-9_.-]*$//'\`" zksync
zsh
:
echo "fpath=(~/.zsh_comp $fpath)" >> ~/.zshrc
mkdir -p ~/.zsh_comp
add ~/.zsh_comp/_zksync
:
#compdef zksync
cmds=( ${(uf)"$(grep -oE '^[a-zA-Z0-9_.-]+:([^=]|$)' $ZKSYNC_HOME/Makefile | sed 's/[^a-zA-Z0-9_.-]*$//')"} )
_describe 'zksync make cmds' cmds