mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
chore(i18n,docs): processed translations (#50728)
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog is an alternative to using an email service provider to send actual email messages. It is a developer tool for email testing that will catch the email messages sent by your freeCodeCamp instance.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog is an alternative to using an email service provider to send actual email messages. It is a developer tool for email testing that will catch the email messages sent by your freeCodeCamp instance.
|
||||
|
||||
## Installing MailHog
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Installing MailHog with Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
The above commands will start a mailhog service in the background.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
安裝完成後,你可以開始[使用 MailHog](#using-mailhog)。
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Next, go to the `config/i18n/locales` directory, create a new folder, and give i
|
||||
|
||||
Then copy the JSON files from the `english` directory to your new folder.
|
||||
|
||||
In your new folder, open the `serve.json` file and replace its contents with the following:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Then commit and push your branch directly to the News repo.
|
||||
|
||||
@@ -2,6 +2,8 @@ Follow these guidelines for setting up a development environment for freeCodeCam
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
If you are looking to make a one-off contribution, you should use Gitpod to make changes. The Gitpod setup launches a ready-to-code environment in a few minutes in your web browser. For contributing long-term, we recommend you setup freeCodeCamp on your local machine.
|
||||
|
||||
Here are some pros and cons which should help you decide which option is best for you:
|
||||
@@ -15,8 +17,6 @@ Here are some pros and cons which should help you decide which option is best fo
|
||||
| Need an internet connection to work | Minimal internet connection required (once setup) |
|
||||
| Some tasks like compilation and tests can take longer to complete | Faster completion of tasks (depending on your machine's capabilities) |
|
||||
|
||||
> [!ATTENTION] **Note:** If you are using Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
We have automated the process of installing all the dependencies & tools you will need. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Set up freeCodeCamp on Windows Subsystem for Linux (WSL)
|
||||
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Version 2004, Build 19041 or higher) - available for all distributions including Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Follow the instructions on the [official documentation](https://docs.microsoft.c
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> While you may use other non-debian based distros, they all come with their own gotchas and are beyond the scope of this guide.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Update the dependencies for the OS
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Installing a Code Editor
|
||||
|
||||
We highly recommend installing [Visual Studio Code](https://code.visualstudio.com) on Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distro.
|
||||
We highly recommend installing [Visual Studio Code](https://code.visualstudio.com) on Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Essentially, you will edit and store your code on Ubuntu-18.04 with VS Code installed on Windows.
|
||||
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and Npm package manager to what is installed on your WSL distro.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Installing Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to
|
||||
|
||||
1. Launch a new Ubuntu-18.04 terminal
|
||||
|
||||
2. Pull `MongoDB 4.0.x` from dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog is an alternative to using an email service provider to send actual email messages. It is a developer tool for email testing that will catch the email messages sent by your freeCodeCamp instance.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog is an alternative to using an email service provider to send actual email messages. It is a developer tool for email testing that will catch the email messages sent by your freeCodeCamp instance.
|
||||
|
||||
## Installing MailHog
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Installing MailHog with Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
The above commands will start a mailhog service in the background.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
安装完成后,你可以开始[使用 MailHog](#using-mailhog)。
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Next, go to the `config/i18n/locales` directory, create a new folder, and give i
|
||||
|
||||
Then copy the JSON files from the `english` directory to your new folder.
|
||||
|
||||
In your new folder, open the `serve.json` file and replace its contents with the following:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Then commit and push your branch directly to the News repo.
|
||||
|
||||
@@ -2,6 +2,8 @@ Follow these guidelines for setting up a development environment for freeCodeCam
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
If you are looking to make a one-off contribution, you should use Gitpod to make changes. The Gitpod setup launches a ready-to-code environment in a few minutes in your web browser. For contributing long-term, we recommend you setup freeCodeCamp on your local machine.
|
||||
|
||||
Here are some pros and cons which should help you decide which option is best for you:
|
||||
@@ -15,8 +17,6 @@ Here are some pros and cons which should help you decide which option is best fo
|
||||
| Need an internet connection to work | Minimal internet connection required (once setup) |
|
||||
| Some tasks like compilation and tests can take longer to complete | Faster completion of tasks (depending on your machine's capabilities) |
|
||||
|
||||
> [!ATTENTION] **Note:** If you are using Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
We have automated the process of installing all the dependencies & tools you will need. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Set up freeCodeCamp on Windows Subsystem for Linux (WSL)
|
||||
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Version 2004, Build 19041 or higher) - available for all distributions including Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Follow the instructions on the [official documentation](https://docs.microsoft.c
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> While you may use other non-debian based distros, they all come with their own gotchas and are beyond the scope of this guide.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Update the dependencies for the OS
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Installing a Code Editor
|
||||
|
||||
We highly recommend installing [Visual Studio Code](https://code.visualstudio.com) on Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distro.
|
||||
We highly recommend installing [Visual Studio Code](https://code.visualstudio.com) on Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Essentially, you will edit and store your code on Ubuntu-18.04 with VS Code installed on Windows.
|
||||
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and Npm package manager to what is installed on your WSL distro.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Installing Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to
|
||||
|
||||
1. Launch a new Ubuntu-18.04 terminal
|
||||
|
||||
2. Pull `MongoDB 4.0.x` from dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Introducción
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog es una alternativa al uso de un proveedor de servicios de correo electrónico para enviar correos electrónicos reales. Es una herramienta de desarrollo para pruebas de correo electrónico que capturará los mensajes de correo electrónico enviados por tu instancia de freeCodeCamp.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog es una alternativa al uso de un proveedor de servicios de correo electrónico para enviar correos electrónicos reales. Es una herramienta de desarrollo para pruebas de correo electrónico que capturará los mensajes de correo electrónico enviados por tu instancia de freeCodeCamp.
|
||||
|
||||
## Instalando MailHog
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Instalando MailHog con Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
Los comandos anteriores iniciarán una instancia de mailhog en segundo plano.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
Cuando la instalación finalice, puedes comenzar a [usar MailHog](#using-mailhog).
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Next, go to the `config/i18n/locales` directory, create a new folder, and give i
|
||||
|
||||
Then copy the JSON files from the `english` directory to your new folder.
|
||||
|
||||
In your new folder, open the `serve.json` file and replace its contents with the following:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Then commit and push your branch directly to the News repo.
|
||||
|
||||
@@ -2,6 +2,8 @@ Sigue estas directrices para configurar un entorno de desarrollo para freeCodeCa
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. Puedes seguir [esta guía](how-to-setup-wsl.md) para configurar WSL2. No puedes utilizar Command Prompt, Git Bash o PowerShell para ejecutar freeCodeCamp de forma nativa dentro de windows.
|
||||
|
||||
Si deseas hacer una contribución puntual, debes utilizar Gitpod para realizar cambios. La configuración de Gitpod lanza un entorno listo para codificar en pocos minutos en tu navegador web. Para contribuir a largo plazo, te recomendamos que instales freeCodeCamp en tu máquina local.
|
||||
|
||||
Estos son algunos pros y contras que deberían ayudarte a decidir cuál es la mejor opción para ti:
|
||||
@@ -15,8 +17,6 @@ Estos son algunos pros y contras que deberían ayudarte a decidir cuál es la me
|
||||
| Necesita conexión a Internet para funcionar | Requiere una conexión mínima a Internet (una vez configurado) |
|
||||
| Algunas tareas, como la compilación y las pruebas, pueden llevar más tiempo | Realización más rápida de las tareas (en función de las capacidades de tu máquina) |
|
||||
|
||||
> [!ATTENTION] **Nota:** Si utilizas Windows 10 u 11, tendrás que utilizar WSL2. Puedes seguir [esta guía](how-to-setup-wsl.md) para configurar WSL2. No puedes utilizar Command Prompt, Git Bash o PowerShell para ejecutar freeCodeCamp de forma nativa dentro de windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
Hemos automatizado el proceso de instalación de todas las dependencias & herramientas que necesitarás. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Configurar freeCodeCamp en el subsistema de Windows para Linux (WSL)
|
||||
|
||||
> [!NOTE] Antes de seguir estas instrucciones asegúrate de que tu sistema cumple con los requisitos
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Versión 2004, Build 19041 o superior) - disponible para todas las distribuciones incluyendo Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Sigue las instrucciones de la [documentación oficial](https://docs.microsoft.co
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> Aunque usted puede utilizar otras distribuciones no basadas en debian, todas vienen con sus propias complicaciones y están más allá del alcance de esta guía.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Actualizar las dependencias del sistema operativo
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Instalar un editor de código
|
||||
|
||||
Recomendamos encarecidamente instalar [Visual Studio Code](https://code.visualstudio.com) en Windows 10. Posee un gran soporte para WSL e instala automáticamente todas las extensiones necesarias en tu distribución de WSL.
|
||||
Recomendamos encarecidamente instalar [Visual Studio Code](https://code.visualstudio.com) en Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Esencialmente, editaras y almacenaras tu código en Ubuntu-18.04 con el VS Code instalado en Windows.
|
||||
|
||||
Si utilizas [IntelliJ Idea](https://www.jetbrains.com/idea/), quizás necesites actualizar el intérprete de Node y el gestor de paquetes npm que está instalado en tu distribución WSL.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
Puedes chequear estas configuraciones yendo a > Idiomas & Librerías > Node.js y NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Instalando Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ Una vez que hayas configurado Docker Desktop para trabajar con WSL2, sigue estos
|
||||
|
||||
1. Inicia una nueva terminal Ubuntu-18.04
|
||||
|
||||
2. Extrae `MongoDB 4.0.x` desde dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Einführung
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog ist eine Alternative zur Nutzung eines E-Mail-Dienstleisters, um echte E-Mails zu versenden. Es ist ein Entwickler-Tool für E-Mail-Tests, das die von deiner freeCodeCamp-Instanz gesendeten E-Mails abfängt.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog ist eine Alternative zur Nutzung eines E-Mail-Dienstleisters, um echte E-Mails zu versenden. Es ist ein Entwickler-Tool für E-Mail-Tests, das die von deiner freeCodeCamp-Instanz gesendeten E-Mails abfängt.
|
||||
|
||||
## MailHog installieren
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>MailHog mit Docker installieren</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
Mit den obigen Befehlen wird ein Mailhog-Dienst im Hintergrund gestartet.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
Wenn die Installation abgeschlossen ist, kannst du [MailHog](#using-mailhog) benutzen.
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Als nächstes gehst du in das Verzeichnis `config/i18n/locales`, erstellst einen
|
||||
|
||||
Kopiere dann die JSON-Dateien aus dem Verzeichnis `english` in deinen neuen Ordner.
|
||||
|
||||
Öffne in deinem neuen Ordner die Datei `serve.json` und ersetze ihren Inhalt durch den folgenden:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Dann commitest und pushst du deinen Zweig direkt in das News-Repository.
|
||||
|
||||
@@ -2,6 +2,8 @@ Follow these guidelines for setting up a development environment for freeCodeCam
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
If you are looking to make a one-off contribution, you should use Gitpod to make changes. The Gitpod setup launches a ready-to-code environment in a few minutes in your web browser. For contributing long-term, we recommend you setup freeCodeCamp on your local machine.
|
||||
|
||||
Here are some pros and cons which should help you decide which option is best for you:
|
||||
@@ -15,8 +17,6 @@ Here are some pros and cons which should help you decide which option is best fo
|
||||
| Need an internet connection to work | Minimal internet connection required (once setup) |
|
||||
| Some tasks like compilation and tests can take longer to complete | Faster completion of tasks (depending on your machine's capabilities) |
|
||||
|
||||
> [!ATTENTION] **Note:** If you are using Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
We have automated the process of installing all the dependencies & tools you will need. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# freeCodeCamp auf dem Windows Subsystem für Linux (WSL) einrichten
|
||||
|
||||
> [!HINWEIS] Bevor Sie diesen Anweisungen folgen, stellen Sie sicher, dass Ihr System die Anforderungen erfüllt
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Version 2004, Build 19041 oder höher) - verfügbar für alle Distributionen einschließlich Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Folge den Anweisungen in der [offiziellen Dokumentation](https://docs.microsoft.
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> Du kannst zwar auch andere, nicht auf Debian basierende Distributionen verwenden, aber die haben alle ihre eigenen Tücken und werden in diesem Leitfaden nicht behandelt.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Abhängigkeiten (Dependencies) für das Betriebssystem aktualisieren
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Installation eines Code-Editors
|
||||
|
||||
Wir empfehlen wärmstens, [Visual Studio Code](https://code.visualstudio.com) auf Windows 10 zu installieren. Es bietet eine hervorragende Unterstützung für WSL und installiert automatisch alle notwendigen Erweiterungen auf deiner WSL-Distribution.
|
||||
Wir empfehlen wärmstens, [Visual Studio Code](https://code.visualstudio.com) auf Windows 10 zu installieren. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Im Wesentlichen bearbeitest und speicherst du deinen Code auf Ubuntu-18.04, während VS Code auf Windows installiert ist.
|
||||
|
||||
Wenn du [IntelliJ Idea](https://www.jetbrains.com/idea/) verwendest, musst du eventuell deinen Node-Interpreter und Npm-Paketmanager auf den Stand deiner WSL-Distribution bringen.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
Du kannst diese Einstellungen überprüfen, indem du zu Einstellungen > Sprachen & Frameworks > Node.js und NPM gehst.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Docker Desktop installieren
|
||||
|
||||
@@ -72,7 +72,7 @@ Sobald du Docker Desktop für die Zusammenarbeit mit WSL2 konfiguriert hast, bef
|
||||
|
||||
1. Starte ein neues Ubuntu-18.04 Terminal
|
||||
|
||||
2. Rufe `MongoDB 4.0.x` von dockerhub ab
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Introduzione
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog è una alternativa ad usare un provider di un servizio email per mandare messagi email. È uno strumento per lo sviluppo per testare le email che catturerà i messaggi email mandati dalla tua istanza di freeCodeCamp.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog è una alternativa ad usare un provider di un servizio email per mandare messagi email. È uno strumento per lo sviluppo per testare le email che catturerà i messaggi email mandati dalla tua istanza di freeCodeCamp.
|
||||
|
||||
## Installare MailHog
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Installare MailHog con Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
I comandi qui sopra avvieranno un servizio mailhog in background.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
Quando l'installazione è completa, puoi iniziare a [usare MailHog](#using-mailhog).
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Successivamente, vai nella cartella `config/i18n/locales`, crea una nuova cartel
|
||||
|
||||
Quindi copia i file JSON dalla cartella `english` nella tua nuova cartella.
|
||||
|
||||
Nella nuova cartella, apri il file `serve.json` e sostituisci il suo contenuto con quanto segue:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Quindi fail il commit e il push del tuo branch direttamente dal repo News.
|
||||
|
||||
@@ -2,6 +2,8 @@ Follow these guidelines for setting up a development environment for freeCodeCam
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
If you are looking to make a one-off contribution, you should use Gitpod to make changes. The Gitpod setup launches a ready-to-code environment in a few minutes in your web browser. For contributing long-term, we recommend you setup freeCodeCamp on your local machine.
|
||||
|
||||
Here are some pros and cons which should help you decide which option is best for you:
|
||||
@@ -15,8 +17,6 @@ Here are some pros and cons which should help you decide which option is best fo
|
||||
| Need an internet connection to work | Minimal internet connection required (once setup) |
|
||||
| Some tasks like compilation and tests can take longer to complete | Faster completion of tasks (depending on your machine's capabilities) |
|
||||
|
||||
> [!ATTENTION] **Note:** If you are using Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
We have automated the process of installing all the dependencies & tools you will need. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Impostare freeCodeCamp sul sottosistema Windows per Linux (WSL)
|
||||
|
||||
> [!NOTE] Prima di seguire queste istruzioni assicurati che il sistema soddisfi i requisiti
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 a 64 bit (Versione 2004, Build 19041 o superiore) - disponibile per tutte le distribuzioni tra cui Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Segui le istruzioni sulla [documentazione ufficiale](https://docs.microsoft.com/
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> Anche se si possono utilizzare altre distribuzioni non basate su debian, hanno tutte i loro trabocchetti e sono al di là della portata di questa guida.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Aggiorna le dipendenze per il sistema operativo
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Installazione di un editor di codice
|
||||
|
||||
Consigliamo vivamente di installare [Visual Studio Code](https://code.visualstudio.com) su Windows 10. Ha un grande supporto per WSL e installa automaticamente tutte le estensioni necessarie sulla tua distribuzione WSL.
|
||||
Consigliamo vivamente di installare [Visual Studio Code](https://code.visualstudio.com) su Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Essenzialmente, modificherai e memorizzerai il tuo codice su Ubuntu-18.04 con Visual Studio Code installato su Windows.
|
||||
|
||||
Se usi [IntelliJ Idea](https://www.jetbrains.com/idea/), potresti aver bisogno di aggiornare il tuo interprete Node e il gestore di pacchetti Npm a quello installato nella tua distribuzione WSL.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
Puoi controllare queste impostazioni andando su Settings > Languages & Frameworks > Node.js and NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Installazione di Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ Una volta che hai configurato Docker Desktop per lavorare con WSL2, segui questi
|
||||
|
||||
1. Avvia un nuovo terminale Ubuntu-18.04
|
||||
|
||||
2. Scarica `MongoDB 4.0.x` da dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## はじめに
|
||||
|
||||
Some email workflows, like updating a user's email, require the back-end api-server to send outgoing emails. MailHog は、実際のメールメッセージを送信する電子メールサービスプロバイダの代わりになります。 これは、freeCodeCamp インスタンスから送信されたメールメッセージをキャッチするメールテスト用の開発ツールです。
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog は、実際のメールメッセージを送信する電子メールサービスプロバイダの代わりになります。 これは、freeCodeCamp インスタンスから送信されたメールメッセージをキャッチするメールテスト用の開発ツールです。
|
||||
|
||||
## MailHog のインストール
|
||||
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Dockerで MailHog をインストールする</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
上記コマンドにより、バックグラウンドで mailhog サービスを起動します。
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
インストールが完了すると、[MailHog の使用](#mailhog-の使用) を開始できます。
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Next, go to the `config/i18n/locales` directory, create a new folder, and give i
|
||||
|
||||
Then copy the JSON files from the `english` directory to your new folder.
|
||||
|
||||
In your new folder, open the `serve.json` file and replace its contents with the following:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Then commit and push your branch directly to the News repo.
|
||||
|
||||
@@ -2,6 +2,8 @@ Follow these guidelines for setting up a development environment for freeCodeCam
|
||||
|
||||
## Choose between Gitpod or your Own Machine (local setup)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
If you are looking to make a one-off contribution, you should use Gitpod to make changes. The Gitpod setup launches a ready-to-code environment in a few minutes in your web browser. For contributing long-term, we recommend you setup freeCodeCamp on your local machine.
|
||||
|
||||
Here are some pros and cons which should help you decide which option is best for you:
|
||||
@@ -15,8 +17,6 @@ Here are some pros and cons which should help you decide which option is best fo
|
||||
| Need an internet connection to work | Minimal internet connection required (once setup) |
|
||||
| Some tasks like compilation and tests can take longer to complete | Faster completion of tasks (depending on your machine's capabilities) |
|
||||
|
||||
> [!ATTENTION] **Note:** If you are using Windows 10 or 11, you will need to use WSL2. You can follow [this guide](how-to-setup-wsl.md) to set up WSL2. You can't use Command Prompt, Git Bash or PowerShell to run freeCodeCamp natively within windows.
|
||||
|
||||
### How to Prepare a Gitpod Workspace
|
||||
|
||||
We have automated the process of installing all the dependencies & tools you will need. With Gitpod you get a free ready-to-code environment in a few minutes, and is useful if you do not have access to computer or want to make one-time changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Windows Subsystem for Linux (WSL) で freeCodeCamp 開発環境を構築する
|
||||
|
||||
> [!NOTE] これらの指示に従う前に、システムが要件を満たしていることを確認してください。
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL2**: Windows 10 64-bit (Version 2004, Build 19041以上) - Windows 10 Home を含むすべてのディストリビューションで利用可能です。
|
||||
>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> 他の非debianベースのdistrosを使用することができますが、それぞれの問題点があり、このガイドの範囲を超えています。
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. OS の依存関係を更新します。
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## コードエディターをインストールする
|
||||
|
||||
Windows 10 に [Visual Studio Code](https://code.visualstudio.com) をインストールすることを強くお勧めします。 WSLの素晴らしいサポートがあり、自動的にWSL distro に必要な拡張機能をすべてインストールします。
|
||||
Windows 10 に [Visual Studio Code](https://code.visualstudio.com) をインストールすることを強くお勧めします。 It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
基本的には、Windows にインストールされている VS Code を使用して、Ubuntu-18.04 上でコードを編集して保存します。
|
||||
|
||||
[IntelliJ Idea](https://www.jetbrains.com/idea/) を使用する場合、Node インタプリターと Npm パッケージマネジャーを WSL distro にインストールされているものに更新する必要があるかもしれません。
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
その設定は、設定 > 言語 & フレームワーク > Node.js および NPM で確認できます。
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Docker Desktop をインストールする
|
||||
|
||||
@@ -72,7 +72,7 @@ WSL2 で動作するように Docker Desktop を設定したら、次の手順
|
||||
|
||||
1. 新しい Ubuntu-18.04 端末を起動します。
|
||||
|
||||
2. dockerhub から `MongoDB 4.0.x` を取得します。
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Introdução
|
||||
|
||||
Alguns fluxos de e-mail, como atualizar o e-mail de um usuário, requerem que o servidor da api do back-end envie e-mails de saída. O MailHog é uma alternativa para quem não quer usar um provedor de serviços de e-mail para enviar mensagens de e-mail de verdade. Ele é uma ferramenta de desenvolvedores para o teste de e-mails que receberá mensagens de e-mail de sua instância do freeCodecamp.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. O MailHog é uma alternativa para quem não quer usar um provedor de serviços de e-mail para enviar mensagens de e-mail de verdade. Ele é uma ferramenta de desenvolvedores para o teste de e-mails que receberá mensagens de e-mail de sua instância do freeCodecamp.
|
||||
|
||||
## Instalando o MailHog
|
||||
|
||||
O MailHog pode ser instalado no macOS, Windows e Linux ou usado via Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Instalando o MailHog no Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
Os comandos acima iniciarão um serviço do mailhog em segundo plano.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
Quando a instalação for concluída, você pode começar a [usar o MailHog](#using-mailhog).
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ Em seguida, vá para o diretório `config/i18n/locales`, crie uma pasta e inform
|
||||
|
||||
Em seguida, copie os arquivos JSON do diretório `english` para a sua nova pasta.
|
||||
|
||||
Na sua nova pasta, abra o arquivo `serve.json` e substitua seu conteúdo pelo seguinte:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Em seguida, faça o commit e o push de sua branch diretamente para o repositório News.
|
||||
|
||||
@@ -2,6 +2,8 @@ Siga estas orientações para criar um ambiente de desenvolvimento para o freeCo
|
||||
|
||||
## Escolha entre o Gitpod ou seu próprio computador (configuração local)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. Você pode seguir [este guia](how-to-setup-wsl.md) para configurar o WSL2. Você não pode usar o prompt de comando, o Git Bash ou o PowerShell para executar freeCodeCamp nativamente no Windows.
|
||||
|
||||
Se você deseja fazer uma contribuição única, use o Gitpod para fazer alterações. A configuração do Gitpod abre um ambiente pronto para código em poucos minutos no seu navegador. Para contribuir a longo prazo, recomendamos que você instale o freeCodeCamp em seu computador.
|
||||
|
||||
Aqui estão alguns prós e contras que devem ajudá-lo a decidir qual opção é a melhor para você:
|
||||
@@ -15,8 +17,6 @@ Aqui estão alguns prós e contras que devem ajudá-lo a decidir qual opção é
|
||||
| Precisa de uma conexão com a internet para funcionar | Conexão com a internet mínima necessária (uma vez configurada) |
|
||||
| Algumas tarefas, como a compilação e testes, podem demorar mais para serem concluídas | Completa as tarefas mais rapidamente (dependendo das capacidades da sua máquina) |
|
||||
|
||||
> [!ATTENTION] **Observação:** se você estiver usando o Windows 10 ou 11, precisará usar o WSL2. Você pode seguir [este guia](how-to-setup-wsl.md) para configurar o WSL2. Você não pode usar o prompt de comando, o Git Bash ou o PowerShell para executar freeCodeCamp nativamente no Windows.
|
||||
|
||||
### Como preparar um espaço de trabalho no GitPod
|
||||
|
||||
Nós automatizamos o processo de instalação de todas as dependências e ferramentas de que você precisará. Com o Gitpod, você terá um ambiente gratuito e pronto para o código em alguns minutos. Isso é útil caso você não tenha acesso a um computador ou queira fazer alterações únicas.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Configure o freeCodeCamp no subsistema Windows para Linux (WSL)
|
||||
|
||||
> [!NOTE] Antes de seguir estas instruções, verifique se o sistema atende aos requisitos
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Versão 2004, Build 19041 ou superior) - disponível para todas as distribuições, incluindo o Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@ Siga as instruções na [documentação oficial](https://docs.microsoft.com/en-u
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> Embora você possa usar outras distribuições não baseadas em Debian, todas vêm com seus próprios empecilhos e estão além do escopo deste guia.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Atualize as dependências para o sistema operacional
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Instalando um Editor de Código
|
||||
|
||||
É altamente recomendável instalar o [Visual Studio Code](https://code.visualstudio.com) no Windows 10. Tem um ótimo suporte para WSL e instala automaticamente todas as extensões necessárias na distribuição WSL.
|
||||
É altamente recomendável instalar o [Visual Studio Code](https://code.visualstudio.com) no Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
Essencialmente, você irá editar e armazenar seu código no Ubuntu-18.04 com o VS Code instalado no Windows.
|
||||
|
||||
Se você usa o [IntelliJ Idea](https://www.jetbrains.com/idea/), talvez precise atualizar seu interpretador do Node e seu gerenciador de pacotes NPM pelo que estiver instalado em sua distro WSL.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
Você pode checar essas configurações indo em Settings > Languages & Frameworks > Node.js and NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Instalando o Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ Depois de ter configurado o Docker Desktop para trabalhar com o WSL2, siga essas
|
||||
|
||||
1. Inicie um novo terminal Ubuntu-18.04
|
||||
|
||||
2. Pull `MongoDB 4.0.x` do dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
## Вступ
|
||||
|
||||
Деякі робочі процеси (наприклад, зміна електронної пошти користувача) вимагають сервер api, який надсилатиме вихідні листи. MailHog — це альтернатива провайдерам електронної пошти для надсилання листів. Це інструмент для тестування електронної пошти, на який приходитимуть усі листи, відправлені екземпляром freeCodeCamp.
|
||||
Some email workflows, like updating a user's email, require the back-end API server to send outgoing emails. MailHog — це альтернатива провайдерам електронної пошти для надсилання листів. Це інструмент для тестування електронної пошти, на який приходитимуть усі листи, відправлені екземпляром freeCodeCamp.
|
||||
|
||||
## Встановлення MailHog
|
||||
|
||||
MailHog можна встановити на macOS, Windows та Linux або використовувати через Docker
|
||||
MailHog can be installed on macOS, Windows, and Linux or used via Docker.
|
||||
|
||||
<details><summary>Встановлення MailHog за допомогою Docker</summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ brew install mailhog
|
||||
brew services start mailhog
|
||||
```
|
||||
|
||||
Наведені вище команди запустять MailHog у фоновому режимі.
|
||||
The above commands will start a MailHog service in the background.
|
||||
|
||||
Коли встановлення завершено, ви можете почати [використовувати MailHog](#using-mailhog).
|
||||
|
||||
|
||||
@@ -377,12 +377,10 @@ const algoliaIndices = {
|
||||
|
||||
Потім скопіюйте файли JSON з каталогу `english` до нової папки.
|
||||
|
||||
Відкрийте файл `serve.json` у новій папці та замініть його вміст на наступне:
|
||||
In your new folder, open the `redirects.json` file and replace its contents with an empty array:
|
||||
|
||||
```json
|
||||
{
|
||||
"redirects": []
|
||||
}
|
||||
[]
|
||||
```
|
||||
|
||||
Потім зафіксуйте та відправте гілку до репозиторію News.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## Оберіть між Gitpod чи власною машиною (локальне налаштування)
|
||||
|
||||
> [!ATTENTION] **Note:** freeCodeCamp does NOT run natively on Windows 10 or 11, you will need to use WSL2. Використовуйте [цей посібник](how-to-setup-wsl.md), щоб налаштувати WSL2. Ви не можете використовувати командний рядок, Git Bash або PowerShell для запуску freeCodeCamp на Windows.
|
||||
|
||||
Якщо ви бажаєте зробити одноразовий внесок, використовуйте Gitpod. Налаштування Gitpod надає готове середовище у вашому браузері за декілька хвилин. Для тривалих внесків ми рекомендуємо налаштувати freeCodeCamp на локальній машині.
|
||||
|
||||
Ось деякі плюси та мінуси, які допоможуть із вибором:
|
||||
@@ -15,8 +17,6 @@
|
||||
| Потрібне інтернет-з’єднання | Мінімальне інтернет-з’єднання (після налаштування) |
|
||||
| Деякі завдання (наприклад, компіляція та тестування) можуть тривати довше | Швидше виконання завдань (залежно від можливостей вашої машини) |
|
||||
|
||||
> [!ATTENTION] **Примітка:** якщо ви використовуєте Windows 10 або 11, вам знадобиться WSL2. Використовуйте [цей посібник](how-to-setup-wsl.md), щоб налаштувати WSL2. Ви не можете використовувати командний рядок, Git Bash або PowerShell для запуску freeCodeCamp на Windows.
|
||||
|
||||
### Як підготувати робоче середовище Gitpod
|
||||
|
||||
Ми автоматизували процес встановлення усіх необхідних залежностей та інструментів. Завдяки Gitpod ви отримаєте готове середовище за декілька хвилин, яке буде корисним, якщо ви не маєте доступу до комп’ютера чи хочете зробити одноразові зміни.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Налаштування freeCodeCamp на Windows Subsystem for Linux (WSL)
|
||||
|
||||
> [!NOTE] Перш ніж виконувати ці інструкції, переконайтеся, що ваша система відповідає вимогам
|
||||
> [!NOTE] Before you follow these instructions make sure your system meets the requirements.
|
||||
>
|
||||
> **WSL 2**: Windows 10 64-bit (Version 2004, Build 19041 чи вище) — доступно для всіх дистрибутивів, включно з Windows 10 Home.
|
||||
>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> Ви можете використовувати інші дистрибутиви, основою яких не є Debian, але у них наявні певні недоліки та вони виходять за рамки цього посібника.
|
||||
> While you may use other non-Debian-based distributions, they all come with their own 'gotchas' that are beyond the scope of this guide.
|
||||
|
||||
2. Оновіть залежності ОС
|
||||
|
||||
@@ -44,13 +44,13 @@ git version 2.25.1
|
||||
|
||||
## Встановлення редактора коду
|
||||
|
||||
Ми наполегливо рекомендуємо встановити [Visual Studio Code](https://code.visualstudio.com) на Windows 10. Цей редактор підтримує WSL та автоматично встановлює всі необхідні розширення на вашому дистрибутиві WSL.
|
||||
Ми наполегливо рекомендуємо встановити [Visual Studio Code](https://code.visualstudio.com) на Windows 10. It has great support for WSL and automatically installs all the necessary extensions on your WSL distribution.
|
||||
|
||||
По суті, ви змінюватимете та зберігатимете свій код на Ubuntu-18.04 із VS Code, встановленим на Windows.
|
||||
|
||||
Якщо ви використовуєте [IntelliJ Idea](https://www.jetbrains.com/idea/), можливо, вам знадобиться оновити інтерпретатор Node та керування пакунками Npm до версії, налаштованої у вашому дистрибутиві WSL.
|
||||
If you use [IntelliJ Idea](https://www.jetbrains.com/idea/), you may need to update your Node interpreter and npm package manager to what is installed on your WSL distro.
|
||||
|
||||
Ви можете перевірити ці налаштування в розділі Settings > Languages & Frameworks > Node.js and NPM.
|
||||
You can check these settings by going to Settings > Languages & Frameworks > Node.js and npm.
|
||||
|
||||
## Встановлення Docker Desktop
|
||||
|
||||
@@ -72,7 +72,7 @@ git version 2.25.1
|
||||
|
||||
1. Запустіть новий термінал Ubuntu-18.04
|
||||
|
||||
2. Витягніть `MongoDB 4.0.x` із dockerhub
|
||||
2. Pull `MongoDB 4.0.x` from Docker Hub
|
||||
|
||||
```console
|
||||
docker pull mongo:4.0
|
||||
|
||||
Reference in New Issue
Block a user