Skip to content

Commit 73c4806

Browse files
committed
New translations graph-node.mdx (Portuguese)
1 parent d882770 commit 73c4806

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

website/src/pages/pt/indexing/tooling/graph-node.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@ Subgraph deployment metadata is stored on the IPFS network. The Graph Node prima
3232

3333
O Graph Node pode, opcionalmente, logar métricas a um servidor de métricas Prometheus para permitir funções de relatórios e monitorado.
3434

35-
### Getting started from source
35+
### Começando da fonte
3636

37-
#### Install prerequisites
37+
#### Pré-requisitos para a instalação
3838

3939
- **Rust**
4040

4141
- **PostgreSQL**
4242

4343
- **IPFS**
4444

45-
- **Additional Requirements for Ubuntu users** - To run a Graph Node on Ubuntu a few additional packages may be needed.
45+
- **Requisitos Adicionais para utilizadores de Ubuntu** — A execução de um Graph Node no Ubuntu pode exigir pacotes adicionais.
4646

4747
```sh
4848
sudo apt-get install -y clang libpq-dev libssl-dev pkg-config
4949
```
5050

51-
#### Setup
51+
#### Configuração
5252

53-
1. Start a PostgreSQL database server
53+
1. Inicie um servidor de banco de dados PostgreSQL
5454

5555
```sh
5656
initdb -D .postgres
5757
pg_ctl -D .postgres -l logfile start
5858
createdb graph-node
5959
```
6060

61-
2. Clone [Graph Node](https://github.com/graphprotocol/graph-node) repo and build the source by running `cargo build`
61+
2. Clone o repositório do [Graph Node](https://github.com/graphprotocol/graph-node) e execute `cargo build` para construir a fonte
6262

63-
3. Now that all the dependencies are setup, start the Graph Node:
63+
3. Agora que todas as dependências estão configuradas, inicialize o Graph Node:
6464

6565
```sh
6666
cargo run -p graph-node --release -- \
@@ -77,13 +77,13 @@ Veja um exemplo completo de configuração do Kubernetes no [repositório do ind
7777

7878
Durante a execução, o Graph Node expõe as seguintes portas:
7979

80-
| Port | Purpose | Routes | CLI Argument | Environment Variable |
81-
| ---- | ----------------------------------------------- | ---------------------------------------------- | ------------------ | -------------------- |
82-
| 8000 | GraphQL HTTP server<br />(for Subgraph queries) | /subgraphs/id/...<br />/subgraphs/name/.../... | \--http-port | - |
83-
| 8001 | GraphQL WS<br />(for Subgraph subscriptions) | /subgraphs/id/...<br />/subgraphs/name/.../... | \--ws-port | - |
84-
| 8020 | JSON-RPC<br />(for managing deployments) | / | \--admin-port | - |
85-
| 8030 | Subgraph indexing status API | /graphql | \--index-node-port | - |
86-
| 8040 | Prometheus metrics | /metrics | \--metrics-port | - |
80+
| Porta | Propósito | Rotas | Argumento CLI | Variável de Ambiente |
81+
| ----- | ----------------------------------------------- | ---------------------------------------------- | ------------------ | -------------------- |
82+
| 8000 | GraphQL HTTP server<br />(for Subgraph queries) | /subgraphs/id/...<br />/subgraphs/name/.../... | \--http-port | - |
83+
| 8001 | GraphQL WS<br />(for Subgraph subscriptions) | /subgraphs/id/...<br />/subgraphs/name/.../... | \--ws-port | - |
84+
| 8020 | JSON-RPC<br />(para gerir implantações) | / | \--admin-port | - |
85+
| 8030 | API de estado de indexação do subgraph | /graphql | \--index-node-port | - |
86+
| 8040 | Métricas Prometheus | /metrics | \--metrics-port | - |
8787

8888
> **Importante**: Cuidado ao expor portas publicamente — **portas de administração** devem ser trancadas a sete chaves. Isto inclui o endpoint JSON-RPC do Graph Node.
8989

0 commit comments

Comments
 (0)