From f2e3cab55adc913ca3e836ddea557bf93e90247f Mon Sep 17 00:00:00 2001 From: roberiorebeca Date: Fri, 18 Aug 2023 18:43:28 -0400 Subject: [PATCH] Update instalacao31.rst --- docs/instalacao31.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/instalacao31.rst b/docs/instalacao31.rst index 4ebd598d3..b8fcff804 100644 --- a/docs/instalacao31.rst +++ b/docs/instalacao31.rst @@ -104,6 +104,11 @@ Instalação e configuração das dependências do projeto pip install -r /var/interlegis/sapl/requirements/dev-requirements.txt +* **Para evitar erro 'ERROR: invalid locale name: "pt_BR.UTF-8"' quando executar o ultimo comando do passo abaixo, executar este procedimento.** + https://www.linhadecomando.com/so-linux/linux-instalando-o-locale-pt_br-utf-8 + + Depois que executar, reinicie o WSL + * **Configurar Postgresql**:: sudo -u postgres psql -c "CREATE ROLE sapl LOGIN ENCRYPTED PASSWORD 'sapl' NOSUPERUSER INHERIT CREATEDB NOCREATEROLE NOREPLICATION;"