Skip to content

Commit a5c89aa

Browse files
committed
New translations dev-container.mdx (French)
1 parent 624142b commit a5c89aa

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
---
2-
title: Substreams Dev Container
3-
sidebarTitle: Dev Container
2+
title: Dev Container Substreams
3+
sidebarTitle: Le Dev Container
44
---
55

6-
Develop your first project with Substreams Dev Container.
6+
Développez votre premier projet avec Substreams Dev Container.
77

8-
## What is a Dev Container?
8+
## C'est quoi un Dev Container?
99

10-
It's a tool to help you build your first project. You can either run it remotely through Github codespaces or locally by cloning the [substreams starter repository](https://github.com/streamingfast/substreams-starter?tab=readme-ov-file).
10+
C'est un outil qui vous aide à construire votre premier projet. Vous pouvez l'utiliser à distance via les codespaces Github ou localement en clonant la [repo de départ de substreams](https://github.com/streamingfast/substreams-starter?tab=readme-ov-file).
1111

1212
Inside the Dev Container, the `substreams init` command sets up a code-generated Substreams project, allowing you to easily build a Subgraph or an SQL-based solution for data handling.
1313

1414
## Prérequis
1515

16-
- Ensure Docker and VS Code are up-to-date.
16+
- S'assurer que Docker et VS Code sont à jour.
1717

18-
## Navigating the Dev Container
18+
## Naviguer dans le Dev Container
1919

20-
In the Dev Container, you can either build or import your own `substreams.yaml` and associate modules within the minimal path or opt for the automatically generated Substreams paths. Then, when you run the `Substreams Build` it will generate the Protobuf files.
20+
Dans le Dev Container, vous pouvez soit construire ou importer votre propre `substreams.yaml` et associer des modules dans le chemin minimal, soit opter pour les chemins Substreams générés automatiquement. Ensuite, lorsque vous exécutez le `Substreams Build`, il génère les fichiers Protobuf.
2121

2222
### Options
2323

24-
- **Minimal**: Starts you with the raw block `.proto` and requires development. This path is intended for experienced users.
25-
- **Non-Minimal**: Extracts filtered data using network-specific caches and Protobufs taken from corresponding foundational modules (maintained by the StreamingFast team). This path generates a working Substreams out of the box.
24+
- **Minimal** : Vous démarre avec le bloc brut `.proto` et nécessite du développement. Ce chemin est destiné aux utilisateurs expérimentés.
25+
- **Non-Minimal** : Extrait les données filtrées en utilisant les caches spécifiques au réseau et les Protobufs provenant des modules de base correspondants (maintenus par l'équipe StreamingFast). Ce chemin génère un Substreams fonctionnel dès sa sortie de la boîte.
2626

27-
To share your work with the broader community, publish your `.spkg` to [Substreams registry](https://substreams.dev/) using:
27+
Pour partager votre travail avec la communauté, publiez votre `.spkg` sur [Substreams registry](https://substreams.dev/) en utilisant :
2828

2929
- `substreams registry login`
3030
- `substreams registry publish`
3131

32-
> Note: If you run into any problems within the Dev Container, use the `help` command to access trouble shooting tools.
32+
> Note : Si vous rencontrez des problèmes dans le Dev Container, utilisez la commande `help` pour accéder aux outils de dépannage.
3333
34-
## Building a Sink for Your Project
34+
## Construire un sink pour votre projet
3535

36-
You can configure your project to query data either through a Subgraph or directly from an SQL database:
36+
Vous pouvez configurer votre projet pour qu'il interroge des données soit par l'intermédiaire d'un subgraph, soit directement à partir d'une base de données SQL :
3737

3838
- **Subgraph**: Run `substreams codegen subgraph`. This generates a project with a basic `schema.graphql` and `mappings.ts` file. You can customize these to define entities based on the data extracted by Substreams. For more configurations, see [Subgraph sink documentation](https://docs.substreams.dev/how-to-guides/sinks/subgraph).
39-
- **SQL**: Run `substreams codegen sql` for SQL-based queries. For more information on configuring a SQL sink, refer to the [SQL documentation](https://docs.substreams.dev/how-to-guides/sinks/sql-sink).
39+
- **SQL** : Exécutez `substreams codegen sql` pour les requêtes basées sur SQL. Pour plus d'informations sur la configuration d'un sink SQL, consultez la [documentation SQL](https://docs.substreams.dev/how-to-guides/sinks/sql-sink).
4040

41-
## Deployment Options
41+
## Options de déploiement
4242

43-
To deploy a Subgraph, you can either run the `graph-node` locally using the `deploy-local` command or deploy to Subgraph Studio by using the `deploy` command found in the `package.json` file.
43+
Pour déployer un subgraph, vous pouvez soit exécuter le `graph-node` localement en utilisant la commande `deploy-local`, soit le déployer dans Subgraph Studio en utilisant la commande `deploy` qui se trouve dans le fichier `package.json`.
4444

45-
## Common Errors
45+
## Erreurs courantes
4646

4747
- When running locally, make sure to verify that all Docker containers are healthy by running the `dev-status` command.
4848
- If you put the wrong start-block while generating your project, navigate to the `substreams.yaml` to change the block number, then re-run `substreams build`.

0 commit comments

Comments
 (0)