mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-14 16:16:06 +00:00
build
This commit is contained in:
@@ -20,7 +20,7 @@ As shown in Figure 16-3, there is an "edit icon" in the top-right corner of each
|
||||
|
||||
1. Click the "edit icon". If you encounter a prompt asking you to "Fork this repository", please approve the operation.
|
||||
2. Modify the content of the Markdown source file, verify the correctness of the content, and maintain consistent formatting as much as possible.
|
||||
3. Fill in a description of your changes at the bottom of the page, then click the "Propose file change" button. After the page transitions, click the "Create pull request" button to submit your pull request.
|
||||
3. Fill in a description of your changes at the bottom of the page, then click the "Propose file change" button. After the new page loads, click the "Create pull request" button to submit your pull request.
|
||||
|
||||
{ class="animation-figure" }
|
||||
|
||||
@@ -33,14 +33,14 @@ Images cannot be directly modified. Please describe the issue by creating a new
|
||||
If you are interested in contributing to this open source project, including translating code into other programming languages or expanding article content, you will need to follow the Pull Request workflow below.
|
||||
|
||||
1. Log in to GitHub and Fork the book's [code repository](https://github.com/krahets/hello-algo) to your personal account.
|
||||
2. Enter your forked repository webpage and use the `git clone` command to clone the repository to your local machine.
|
||||
2. Go to your forked repository page and use the `git clone` command to clone the repository to your local machine.
|
||||
3. Create content locally and conduct comprehensive tests to verify code correctness.
|
||||
4. Commit your local changes and push them to the remote repository.
|
||||
5. Refresh the repository webpage and click the "Create pull request" button to submit your pull request.
|
||||
|
||||
### 3. Docker Deployment
|
||||
|
||||
From the root directory of `hello-algo`, run the following Docker script to access the project at `http://localhost:8000`:
|
||||
From the root directory of `hello-algo`, run the following Docker command to access the project at `http://localhost:8000`:
|
||||
|
||||
```shell
|
||||
docker-compose up -d
|
||||
|
||||
@@ -11,4 +11,4 @@ icon: material/help-circle-outline
|
||||
|
||||
- [16.1 Programming Environment Installation](installation.md)
|
||||
- [16.2 Contributing Together](contribution.md)
|
||||
- [16.3 Terminology Table](terminology.md)
|
||||
- [16.3 Glossary](terminology.md)
|
||||
|
||||
@@ -4,7 +4,7 @@ comments: true
|
||||
|
||||
# 16.1 Programming Environment Installation
|
||||
|
||||
## 16.1.1 Installing Ide
|
||||
## 16.1.1 Installing IDE
|
||||
|
||||
We recommend using the open-source and lightweight VS Code as the local integrated development environment (IDE). Visit the [VS Code official website](https://code.visualstudio.com/), and download and install the appropriate version of VS Code according to your operating system.
|
||||
|
||||
@@ -22,11 +22,11 @@ VS Code has a powerful ecosystem of extensions that supports running and debuggi
|
||||
|
||||
### 1. Python Environment
|
||||
|
||||
1. Download and install [Miniconda3](https://docs.conda.io/en/latest/miniconda.html), which requires Python 3.10 or newer.
|
||||
1. Download and install [Miniconda3](https://docs.conda.io/en/latest/miniconda.html) with Python 3.10 or later.
|
||||
2. Search for `python` in the VS Code extension marketplace and install the Python Extension Pack.
|
||||
3. (Optional) Enter `pip install black` on the command line to install the code formatter.
|
||||
|
||||
### 2. C/c++ Environment
|
||||
### 2. C/C++ Environment
|
||||
|
||||
1. Windows systems need to install [MinGW](https://sourceforge.net/projects/mingw-w64/files/) ([configuration tutorial](https://blog.csdn.net/qq_33698226/article/details/129031241)); macOS comes with Clang built-in and does not require installation.
|
||||
2. Search for `c++` in the VS Code extension marketplace and install the C/C++ Extension Pack.
|
||||
@@ -34,12 +34,12 @@ VS Code has a powerful ecosystem of extensions that supports running and debuggi
|
||||
|
||||
### 3. Java Environment
|
||||
|
||||
1. Download and install [OpenJDK](https://jdk.java.net/18/) (version must be > JDK 9).
|
||||
1. Download and install [OpenJDK](https://jdk.java.net/18/) (version 10 or later).
|
||||
2. Search for `java` in the VS Code extension marketplace and install the Extension Pack for Java.
|
||||
|
||||
### 4. C# Environment
|
||||
|
||||
1. Download and install [.Net 8.0](https://dotnet.microsoft.com/en-us/download).
|
||||
1. Download and install [.NET 8.0](https://dotnet.microsoft.com/en-us/download).
|
||||
2. Search for `C# Dev Kit` in the VS Code extension marketplace and install C# Dev Kit ([configuration tutorial](https://code.visualstudio.com/docs/csharp/get-started)).
|
||||
3. You can also use Visual Studio ([installation tutorial](https://learn.microsoft.com/zh-cn/visualstudio/install/install-visual-studio?view=vs-2022)).
|
||||
|
||||
@@ -54,12 +54,12 @@ VS Code has a powerful ecosystem of extensions that supports running and debuggi
|
||||
1. Download and install [Swift](https://www.swift.org/download/).
|
||||
2. Search for `swift` in the VS Code extension marketplace and install [Swift for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang).
|
||||
|
||||
### 7. Javascript Environment
|
||||
### 7. JavaScript Environment
|
||||
|
||||
1. Download and install [Node.js](https://nodejs.org/en/).
|
||||
2. (Optional) Search for `Prettier` in the VS Code extension marketplace and install the code formatter.
|
||||
|
||||
### 8. Typescript Environment
|
||||
### 8. TypeScript Environment
|
||||
|
||||
1. Follow the same installation steps as the JavaScript environment.
|
||||
2. Install [TypeScript Execute (tsx)](https://github.com/privatenumber/tsx?tab=readme-ov-file#global-installation).
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
comments: true
|
||||
---
|
||||
|
||||
# 16.3 Terminology Table
|
||||
# 16.3 Glossary
|
||||
|
||||
The following table lists important terms that appear in this book. It is worth noting the following points:
|
||||
|
||||
- We recommend remembering the English names of terms to help with reading English literature.
|
||||
- We recommend remembering the English terms to help with reading English-language literature.
|
||||
- Some terms have different names in Simplified Chinese and Traditional Chinese.
|
||||
|
||||
<p align="center"> Table 16-1 Important Terms in Data Structures and Algorithms </p>
|
||||
|
||||
Reference in New Issue
Block a user