# Kraken2 ## Kraken Local macOS Installation ### Preliminary - install Go (go1.13) - `$ brew install go@1.13` - instal MariaDB - `$ brew install mysql` - instal Redis - `$ brew install redis` - instal MongoDB - `$ brew install mongo` - instal RabbitMQ - `$ brew install rabbitmq` - make sure all installed and started - `$ brew services list` - if some services doesn't run do - `$ brew services start service_name` - install dep - `$ go get github.com/codegangsta/gin` ### Kraken - Create Go folder - `$ mkdir Go` - `$ cd Go` - `$ mkdir pkg && mkdir src && mkdir lib` - `$ cd src` - Clone to src folder - `git clone kraken2repo` - Set $KRAKEN_APP_PATH - Set $GOPATH - Add to ./bash_profile - `$ nano ~/.bash_profile` - add newline and write - `export GOPATH=../project/Go` - add newline and write - `export KRAKEN_APP_PATH=../project/Go/src/kraken` - `$ source ~/.bash_profile` - test - `$ echo $KRAKEN_APP_PATH` - Copy env/example.json tobe env/dev.json - `cp env/example.json env/dev.json` - install depedency - `$ dep ensure` - run kraken service - `$ gin -i` - run kraken admin - `$ gin -p 3002 -i admin` - run kraken worker - `$ gin -p 3001 -i worker start` ### Sentinel / Kraken dashboard - install node (node10.16.3) - `$ brew install node@10.16.3` - install yarn - `$ brew install yarn` - install depedency - `$ yarn` - run sentinel - `$ yarn dev`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up