feat: add development instructions
This commit is contained in:
parent
ed15952eac
commit
d4c97f89e6
1 changed files with 17 additions and 0 deletions
17
HACKING.md
Normal file
17
HACKING.md
Normal 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
|
||||||
|
```
|
Reference in a new issue