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.
Horizon uses gb to manage go dependencies, which are bundled into
the vendor
directory.
From within the project directory, simply run gb build
. After successful
completion, you should find bin/horizon
is present in the project directory.
Files ending in _generated.go
are generating using
go-codegen. Before you can
regenerate the code, you'll need to install that tool. After installed, simply
run go 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