Go to file
Riordan Panayides 96b4e7e2b7 Merge branch 'main' of github.com:blockworks-foundation/BankingStageErrorsTrackingSidecar 2023-11-28 03:06:51 +00:00
.github/workflows Add fly deployment action 2023-11-28 03:06:39 +00:00
.idea minor cleanup 2023-11-23 13:52:56 +01:00
src adding prioritization fees with write lock accounts (#4) 2023-11-27 13:46:16 +01:00
.dockerignore
.gitignore
Cargo.lock WIP: fly config 2023-11-22 19:49:14 +01:00
Cargo.toml WIP: fly config 2023-11-22 19:49:14 +01:00
Dockerfile Add fly deployment action 2023-11-28 03:06:39 +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 Saving accounts used in json format 2023-11-24 13:39:48 +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;