Go to file
godmodegalactus 3384f853ec
Banking stage subscribe also to have slots notifications
2023-12-15 19:33:32 +01:00
.github/workflows Add fly deployment action 2023-11-28 03:06:39 +00:00
.idea
src Banking stage subscribe also to have slots notifications 2023-12-15 19:33:32 +01:00
.dockerignore
.gitignore
Cargo.lock Adding supp info (#5) 2023-12-01 11:08:27 +00:00
Cargo.toml Adding supp info (#5) 2023-12-01 11:08:27 +00:00
Dockerfile Adding grpc x token (#15) 2023-12-06 15:37:37 +00:00
README.md get banking blocks from rpc 2023-11-24 11:41:19 +01:00
fly.toml Fix metrics path 2023-11-23 14:48:13 +00:00
migration.sql add index transaction_slot(slot) (#21) 2023-12-13 14:12:02 +01:00

README.md

TO INSTALL POSTGRES SCHEMA AND DATABASE

sudo -u postgres psql postgres

in postgres

create data create database mangolana; grant all privileges on database mangolana to galactus;

psql -d mangolana < migration.sql

export PG_CONFIG="host=localhost dbname=mangolana user=galactus password=test sslmode=disable"

give rights to user

GRANT ALL PRIVILEGES ON DATABASE mangolana TO galactus; GRANT ALL PRIVILEGES ON SCHEMA banking_stage_results TO galactus; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA banking_stage_results TO galactus; ALTER DEFAULT PRIVILEGES IN SCHEMA banking_stage_results GRANT ALL PRIVILEGES ON TABLES TO galactus;