Open bulldosers opened 6 years ago
yeah, i just want to run it like geth that i am more familar with and exactly said, run a private chain network locally. thx.
On 24 Jan 2018 18:11, "Roman Poletaev" notifications@github.com wrote:
go version?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AplaProject/go-apla/issues/131#issuecomment-360082979, or mute the thread https://github.com/notifications/unsubscribe-auth/AMVEQqnFzWO7Pv4syltVR1M2qBXCnMpKks5tNwHHgaJpZM4RrAD8 .
@bulldosers please specify your Golang version for more detailed feedback.
Thanks for your replay and I upgrade my go version to 1.9.3. When I run command line ~/apla/go-apla
, I get the log
INFO[0000] Config file missing.
INFO[0000] started with version=0.1.6b11 work_dir=/home/fuwanzeng/apla
and what I need to do to continue ? Is there some web-API that could be used to interact with the blockchain platform just like geth-client? Or is there some wrong understanding disunderstand with the feature of the blockchain platform?
Hello @bulldosers, Sorry for delay.
Short instruction
config.json
{
"secret": "yWaC39F9zWgP4xqp",
"web": true,
"admin_password": "password",
"admin_secret": "test",
"namespaces": [
{
"name": "public",
"anonymous": true,
"publish": true,
"watch": true,
"presence": true,
"join_leave": true,
"history_size": 10,
"history_lifetime": 30,
"recover": true
}
]
}
./centrifugo
Create database "testing"
Clone and go build https://github.com/AplaProject/go-apla/tree/release
./go-apla -dbUser=postgres -dbName=testing -initDatabase=1 -centrifugoSecret=yWaC39F9zWgP4xqp -centrifugoUrl=http://localhost:8000/ -generateFirstBlock=1 -workDir=/YOUR_DIR/ -configPath=/dev/null
REACT_APP_API_URL='http://localhost:7079/api/v2' yarn build
yarn start
http://localhost:3000 -> import existing key -> /YOUR_DIR/PrivateKey
Admin tools->import https://raw.githubusercontent.com/GenesisKernel/apps/master/demo_page.json
Goto home page
When I use the command
go get github.com/AplaProject/go-apla
, I just get some log such as:I don't know how to start your blockchain network just like geth client. Look forward your reply and help, thanks.