Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gradedjestrisk/batch-queries-postgresql


https://github.com/gradedjestrisk/batch-queries-postgresql

Last synced: 26 days ago
JSON representation

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
````