It is definitely not ready yet for production.
Horizon is the client facing API server for the Stellar ecosystem. See an overview of the Stellar ecosystem for more details.
gb is used for building horizon.
Given you have a running golang installation, you can install this with:
go get -u github.com/constabulary/gb/...
From within the project directory, simply run gb build
. After successful
completion, you should find bin/horizon
is present in the project directory.
Horizon uses two go tools you'll need to install:
- go-bindata is used to bundle test data
- go-codegen is used to generate some boilerplate code
After the above are installed, simply run gb generate
.
first, create two local Postgres databases, and start a redis server on port
6379
psql -c 'create database "horizon_test";'
psql -c 'create database "stellar-core_test";'
redis-server
then, run the tests like so:
bash script/run_tests.bash