From d4c97f89e6af0c2a900672682f8e9ae43c6ca568 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 16 Mar 2022 15:18:07 +0530 Subject: [PATCH] feat: add development instructions --- HACKING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 HACKING.md diff --git a/HACKING.md b/HACKING.md new file mode 100644 index 0000000..d73f894 --- /dev/null +++ b/HACKING.md @@ -0,0 +1,17 @@ +# Hacking + +## 1. Setting up development environment + +Expects a Postgres database with the following setup: + +1. user = postgres +2. password = password +3. database name = password + +The following Docker command will download and run Postgres with the +above mentioned configuration + +```bash +export db=z-payments-postgress && \ +docker create --name $db -e POSTGRES_PASSWORD=password -p 5432:5432 postgres && docker start $db +```