feat: add development instructions

This commit is contained in:
Aravinth Manivannan 2022-03-16 15:18:07 +05:30
parent ed15952eac
commit d4c97f89e6
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 17 additions and 0 deletions

17
HACKING.md Normal file
View File

@ -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
```