Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gradedjestrisk/batch-queries-postgresql
https://github.com/gradedjestrisk/batch-queries-postgresql
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gradedjestrisk/batch-queries-postgresql
- Owner: GradedJestRisk
- License: gpl-3.0
- Created: 2024-11-21T10:46:41.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-28T16:41:44.000Z (29 days ago)
- Last Synced: 2024-11-28T17:26:39.815Z (29 days ago)
- Language: Shell
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# batch-queries-postgresql
## Pre-requisite
Check if you'll use :
- linux : good;
- MacOS: okay ;
- Windows: be prepared for some difficulties.Create a Github account.
Ask the owner to be added as a collaborator.
Create an SSH key.
Clone the repository.
Create a branch.
```shell
git switch --create mybranch
```Try rebasing
```shell
git fetch
git rebase origin/main
```## Install
If you have PostgreSQL installed locally (as service), stop/deactivate/uninstall it.
Install
- [curl]()
- [git](https://git-scm.com/)
- [docker and docker-compose](https://docs.docker.com/engine/install/) > v
- [psql client](https://askubuntu.com/questions/1040765/how-to-install-psql-without-postgres)
- [direnv](https://direnv.net/)`psql` can be install in MacOS through `libpq`.
```shell
brew install libpq
echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc
````direnv` can be installed easily with `oh-my-zsh` plugin for `direnv`.
````shell
brew install direnv
vi ~/.zshrc
plugins+=(direnv)
````## Install extras
Install :
- [glances](https://github.com/nicolargo/glances)
- [just](https://github.com/casey/just)````shell
brew install just
````