Skip to content

Commit

Permalink
docs: updated docks and npm package-lock on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tang2087 committed Aug 7, 2024
1 parent d6d3eca commit 240d55a
Show file tree
Hide file tree
Showing 2 changed files with 8,160 additions and 5,379 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,33 @@ python -m venv .venv
Activate the virtual environment.

For Windows:

```
.\.venv\Scripts\activate
```

For UNIX-alike systems:

```
source ./.venv/bin/activate
```

Upgrade `pip`:

```
python.exe -m pip install --upgrade pip
python -m pip install --upgrade pip
```

Install poetry:

```
pip install poetry
```

Refer to [https://python-poetry.org/docs/](https://python-poetry.org/docs/) for details about Poetry.

Install packages:

```
poetry install
```
Expand All @@ -50,18 +55,22 @@ poetry add pre-commit
```

Install `pre-commit` hook scripts:

```
pre-commit install
pre-commit install --hook-type commit-msg --hook-type pre-push
```

(Optional) Run against all files:

```
pre-commit run --all-files
```

### Commit

Use the following command line to commit changes:

```
cz c
```
Expand Down
Loading

0 comments on commit 240d55a

Please sign in to comment.