Boda - Use PostgreSQL DB without installing it

Suppose your company has strict security policies that don’t allow you to install software. In this case, to use Boda + Database, you can follow steps below (on Windows OS) to use PostgreSQL without installing it.

  1. Create a folder for your Postgres download (POSTGRES_FOLDER).

  2. Launch cmd terminal and go to POSTGRES_FOLDER

  3. Download PostgreSQL using the download script bundled with Boda-Lite
    Where <USERNAME> is your user name on Windows.

The image below shows the output from running this script

  1. Initialize PostgreSQL
    PostreSQL\pgsql\bin\initdb.exe -D ..\data --username=postgres --password=boda

  2. Run PostgreSQL database
    PostreSQL\pgsql\bin\pg_ctl.exe start -D ../data


1 Like