Skip to content

Commit

Permalink
Atualização de domínio e organização de conteúdo
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh authored Jun 18, 2022
1 parent 0a86350 commit a17d03a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = {
"Users",
[
{
name: "PyPress",
email: "admin@pypress.com.br",
name: "Press-Ticket",
email: "admin@pressticket.com.br",
passwordHash: "$2a$08$WaEmpmFDD/XkDqorkpQ42eUZozOqRCPkPcTkmHHMyuTGUOkI8dHsq",
profile: "admin",
tokenVersion: 0,
Expand Down
14 changes: 7 additions & 7 deletions docs/INSTALL_VPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

20. Instalação de libs

```sudo apt install apt-transport-https ca-certificates curl software-properties-common```
```sudo apt install apt-transport-https ca-certificates curl software-properties-common git```

21. Atualizando

Expand Down Expand Up @@ -111,8 +111,8 @@
28. Editar os dados abaixo e colar os valores gerados no item 27.

NODE_ENV=
BACKEND_URL=https://back.pypress.com.br
FRONTEND_URL=https://ticket.pypress.com.br
BACKEND_URL=https://back.pressticket.com.br
FRONTEND_URL=https://ticket.pressticket.com.br
PORT=8080
PROXY_PORT=443
CHROME_BIN=/usr/bin/google-chrome-stable
Expand Down Expand Up @@ -186,7 +186,7 @@ JWT_REFRESH_SECRET=

```nano .env```

45. ```REACT_APP_BACKEND_URL=https://back.pypress.com.br```
45. ```REACT_APP_BACKEND_URL=https://back.pressticket.com.br```

46. Buildando o frontend

Expand Down Expand Up @@ -215,7 +215,7 @@ JWT_REFRESH_SECRET=
52. Editar os dados abaixo com a URL que será usada para acessar o frontend.

server {
server_name ticket.pypress.com.br;
server_name ticket.pressticket.com.br;
location / {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
Expand All @@ -240,7 +240,7 @@ server {
55. Editar os dados abaixo com a URL que será usada para acessar o backend.

server {
server_name back.pypress.com.br;
server_name back.pressticket.com.br;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
Expand Down Expand Up @@ -316,5 +316,5 @@ server {

### Usuário padrão para acesso

* User: admin@pypress.com.br
* User: admin@pressticket.com.br
* Password: admin
2 changes: 1 addition & 1 deletion docs/INSTALL_localhost.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ OBS: Caso ao rodar o frontend der erro de ssl, usar o comando abaixo no terminal

### Usuário padrão para acesso

* User: admin@pypress.com.br
* User: admin@pressticket.com.br
* Password: admin

0 comments on commit a17d03a

Please sign in to comment.