- Set up database
postgres=# CREATE DATABASE "sagordatabase";
CREATE DATABASE
postgres=# CREATE USER sagor WITH SUPERUSER PASSWORD 'sagor';
CREATE ROLE
postgres=# GRANT ALL PRIVILEGES ON DATABASE "sagordatabase" TO sagor;
GRANT
postgres=#
- Copy the environment variables template to your .env file
cp env.template .env
I'm thinking on management commands that are run by crons.
- Publisher command
- Subscriber command
The subscriber will sub to all the topics and filter them w/ regex or smt. The publisher will publish to all the topics (that'll be deduced from a simple loop over the gateways)