From 074d2fc481318dc95d5e8278809121679b03ccad Mon Sep 17 00:00:00 2001 From: stephen schuresko Date: Mon, 17 Feb 2025 23:12:26 -0500 Subject: [PATCH] docs: update README to include instructions for alternative database location using DATABASE_URL --- README.md | 6 ++++++ test3.db | Bin 28672 -> 0 bytes 2 files changed, 6 insertions(+) delete mode 100644 test3.db diff --git a/README.md b/README.md index c7cd541..ffec68a 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ To start the server, run: python3 papi.py ``` + +To start with an alternative database location(postgresql) +Use the following +```bash +DATABASE_URL='postgresql+psycopg2://user:password@hostname/database_name' python3 papi.py +``` ## Endpoints ### GET /posts diff --git a/test3.db b/test3.db deleted file mode 100644 index 80b9021e510238f2c94043a6c3855061de57cb7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28672 zcmeI(zi!h&9KdnAO&v8T4N?bh=p+VW39;}1kc4X+5gh6!hzuw)*a%BWT*VG_4I4~6 z83PmI69_??q`S-pBK)pNhxEUBfhur$QKp zajf>L+Bch}8kNn3I-9xnZOvoj(Z?@!HEPwr8jX45-qEk4Z}so$f(-!#5I_I{1Q0*~ z0R#{ztw7td?EAJkie^E06=_H|uL|Z*qhuPoyW^ zj=T_yB%CLDe$6?nSoQ7@AbhsYRB-W9#=}vop*K;*93iP@1|2Qg} z>nO_8+p}!PHj~}A38#KE(P8%2VTNw^e3+}w>REbTE}*`4mUm2Dqvb-^NKe&=y`38A zF44TTMp=&edaNFntJ$TWB%k7Wke_t3J~by>o2x~?(fCo?4<3mlfB*srAbNe}@95I_I{1Q0*~0R#|00D;m9Z2$lNv$O;xjsOA(Abego0s