From 9375e2299a28b017d3335984bf456386a4b799fa Mon Sep 17 00:00:00 2001 From: "derek.wu" Date: Sat, 24 Feb 2024 20:22:04 +0800 Subject: [PATCH] fix typo: Fix typo, add author, and more OS options on installing miniconda. --- README.md | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f7d9f8f..b6c9a64 100644 --- a/README.md +++ b/README.md @@ -33,25 +33,54 @@ 3. Install [miniconda](https://docs.anaconda.com/free/miniconda/#quick-command-line-install) Use `miniconda` to setup the required version of Python. - Execute the code below depending on your OS. + Choose the code to execute depending on your OS. + +
+ (click me) Mac OS M-series chip + ```bash - # For MacOS mkdir -p ~/miniconda3 curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh + ~/miniconda3/bin/conda init zsh + ``` +
+ +
+ (click me) Mac OS Intel chip - # For Windows + ```bash + mkdir -p ~/miniconda3 + curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh + bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 + rm -rf ~/miniconda3/miniconda.sh + ~/miniconda3/bin/conda init zsh + ``` +
+ +
+ (click me) Windows + + ```bash curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o miniconda.exe start /wait "" miniconda.exe /S del miniconda.exe + ~/miniconda3/bin/conda init bash + ``` +
+ +
+ (click me) Linux - # For Linux + ```bash mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh + ~/miniconda3/bin/conda init bash ``` +
4. Setup Python & Pipenv @@ -86,7 +115,7 @@ ``` Then open the newly created file under `content/posts` to finish editing the rest of the content body. - The post is written in Markdown format. You can learn more about Markdown [here](https://www.markdownguide.org/cheat-sheet/) + The post is written in Markdown format. You can learn more about Markdown [here](https://www.markdownguide.org/cheat-sheet/). 2. Test Locally @@ -129,14 +158,14 @@ - Modify the content of the red rectagle 1 and 2. After editing, press the `Create pull request` button. That's it!! + Modify the content of the red rectangle 1 and 2. After editing, press the `Create pull request` button. That's it!! -Congratulations!! You've done all the jobs to post a new blog article. The next is take a rest, drink a cup of tea, and wait for the maintainer to come for reviewing your PR ~ +Congratulations!! You've done all the jobs to post a new blog article. The next is taking a rest, drinking a cup of tea, and waiting for the maintainer to come for reviewing your PR ~ #### More about the post -The post could be written in Markdown or reStructuredText format. The file should be put under `content/posts` folder. Your filename should be the English title of your article. You'll have to translate it if there's no English title. +The post could be written in Markdown or reStructuredText format. The file should put under `content/posts` folder. Your filename should be the English title of your article. You'll have to translate it if there's no English title. The following is a minimal example of an article. * In markdown @@ -173,3 +202,4 @@ TBD ## Authors Wei Lee +Yoyo