Installing PostgreSQL database

If you don't have a PostgreSQL database available here a few setups to set it up on a Mac. For other systems see the PostgreSQL download page for instructions.

1

Installing and Start PostgreSQL

brew install postgresql@15
brew services start postgresql@15
2

Adding PostgresSQL to your PATH

echo 'export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
3

Creating a Masumi database

psql postgres
create database masumi_payment
\q

Last updated

Was this helpful?