From 7e1870be3e2a4cff5b1ce590dd40a15e3e27d228 Mon Sep 17 00:00:00 2001 From: Charles WANG Date: Tue, 10 Mar 2020 22:00:22 +0800 Subject: [PATCH] pg: create readme.md --- vlib/pg/readme.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 vlib/pg/readme.md diff --git a/vlib/pg/readme.md b/vlib/pg/readme.md new file mode 100644 index 0000000000..bcdae9845c --- /dev/null +++ b/vlib/pg/readme.md @@ -0,0 +1,25 @@ +Before you can use this module, you must first have PostgreSQL installed on +your system. To do this, find your OS and perform the actions listed. + +**NOTE**: These instructions are meant only as a convenience. If your OS is not +listed or you need extra help, [go here](https://www.postgresql.org/download/). + +### Fedora 31 +``` +sudo dnf install postgresql-server postgresql-contrib +sudo systemctl enable postgresql # to autostart on startup +sudo systemctl start postgresql +``` + +### Debian 10/11 +``` +sudo apt-get install postgresql postgresql-client +sudo systemctl enable postgresql # to autostart on startup +sudo systemctl start postgresql +``` + +### MacOSX (Homebrew) +``` +brew install postgresql +brew services start postgresql +```