Go to file
Groovie | Mango f877a3a0a9
run cleanupjob on fly (#35)
* clippy+fmt

* poor-man's integration of cleanup job

- runs every 5 hours
- deletes all but 2mn slots

* change slots back
2024-01-05 11:12:44 +01:00
.github/workflows
.idea
src Fix/cleanupdb delete amb (#31) 2024-01-05 11:06:47 +01:00
.dockerignore
.gitignore
Cargo.lock Loading all ALTS in bulk, saving stats of priority fees by cus (#34) 2024-01-03 11:43:55 +01:00
Cargo.toml Loading all ALTS in bulk, saving stats of priority fees by cus (#34) 2024-01-03 11:43:55 +01:00
Dockerfile run cleanupjob on fly (#35) 2024-01-05 11:12:44 +01:00
README.md
alts.txt Preloading ALTs from a predetermined list 2023-12-26 14:40:33 +01:00
fly.toml
migration.sql Reverting ATLs and changing signature and account key to text 2023-12-24 10:07:49 +01:00
run-service-and-cleanup.sh run cleanupjob on fly (#35) 2024-01-05 11:12:44 +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;