Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Setup Environment

wildsky edited this page May 23, 2019 · 5 revisions

Require

  • node, yarn
  • golang (>= 1.10)

Steps

# setup backend
go get github.com/ailabstw/go-pttai; cd ${GOPATH}/src/github.com/ailabstw/go-pttai; ./scripts/init_cookiecutter.sh; source __/bin/activate
./scripts/gptt-testnet.sh

# setup frontend
cd .. ; git clone [email protected]:ptt.ai/pttai.js.git ; cd ./pttai.js
yarn
yarn start

Troubleshooting

strings.Builder undefined

If you are facing this issue, please update your golang to version 1.10 or above.

Clone this wiki locally