Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herzog0/pdbinit
Script to setup environment, create and initialize Postgres databases (for Ubuntu based distributions)
https://github.com/herzog0/pdbinit
Last synced: 8 days ago
JSON representation
Script to setup environment, create and initialize Postgres databases (for Ubuntu based distributions)
- Host: GitHub
- URL: https://github.com/herzog0/pdbinit
- Owner: herzog0
- License: mit
- Created: 2019-10-31T20:21:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T20:33:14.000Z (about 5 years ago)
- Last Synced: 2024-08-13T07:15:51.046Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - herzog0/pdbinit - Script to setup environment, create and initialize Postgres databases (for Ubuntu based distributions) (Shell)
README
# pdbinit
Script to setup environment, create and initialize Postgres databases (for Ubuntu based distributions) using pgsql.It will download the source files of pgsql to a folder named `$HOME/Softwares/`.
# Installation
Not required, simply clone the repository and, for better usage, make a soft link to `/usr/bin`:`ln -s /path/to/pdbinit /usr/bin`
This way you can use the script wherever you are.
# Usage
Call *pdbinit* with *sudo*.
Specify a database name and scripts to initialize the database.
Some require extensions and roles.