Skip to content

Commit

Permalink
build: criando documento com instalacao basica do postgresql em linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobarbosaocb committed Aug 29, 2023
1 parent 620b32e commit 559c7c2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/treinamento/treinamentos/postgresql.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Introdução

# Instalação Linux

sudo apt update
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib

## Rodando PostgreSQL
sudo -u postgres psql

## Criando Banco de dados e Usuário
CREATE DATABASE meuprojeto;

CREATE USER meuusuario WITH PASSWORD 'senha';

ALTER ROLE meuusuario SET client_encoding TO 'utf8';
ALTER ROLE meuusuario SET default_transaction_isolation TO 'read committed';
ALTER ROLE meuusuario SET timezone TO 'America/Sao_Paulo';
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ nav:
- Metodologias: treinamento/estudos_individuais/metodologias.md
- Pipeline de Dados: treinamento/estudos_individuais/PipelinedeDados.md
- Fundamentos de Banco de Dados: treinamento/estudos_individuais/fundamentosBD.md
- Tutorial PostgreSQL: treinamento/treinamentos/postgresql.md
- Atas:
- 06/29 - Reunião Grupo: atas/06-29.md
- 11/07 - Reunião Grupo: atas/07-11.md
Expand Down

0 comments on commit 559c7c2

Please sign in to comment.