Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安裝開發環境 #341

Closed
1 task done
godmmt opened this issue Nov 22, 2023 · 4 comments
Closed
1 task done

安裝開發環境 #341

godmmt opened this issue Nov 22, 2023 · 4 comments
Assignees
Labels
8 hard level 8 documentation Improvements or additions to documentation

Comments

@godmmt
Copy link
Member

godmmt commented Nov 22, 2023


延伸:

@godmmt godmmt self-assigned this Nov 22, 2023
@godmmt godmmt added 3 hard level 3 documentation Improvements or additions to documentation labels Nov 22, 2023
@godmmt
Copy link
Member Author

godmmt commented Nov 23, 2023

安裝步驟:

  • 1. 安裝 Node.js & npm
  • 2. 安裝 VSCode & 設定 IDE
  • 2.1 安裝版本控制系統
  • 2.2 設定 Precommit 機制
  • 3. 建立 Next 專案
  • 3.1 將開發目錄轉移至 src
  • 4. 在 Nested Routes 中建立 Link Component
  • 4.1 file-based routing 說明
  • 4.2 執行步驟
  • 5. 建立 API Routes

@godmmt
Copy link
Member Author

godmmt commented Nov 23, 2023

安裝開發環境 took 8 hrs
done.

remain 4 hrs
- 閱讀 newbie 目錄中的文件
remain 4 hrs


因為不熟悉 MacBook 作業系統,導致原先預計完成時間延遲。

中間遇到的困難有:

  • 找不到特定目錄:Shift ⇧ + Command ⌘+ G鍵 輸入目錄的路徑即可。
  • 下載後的安裝應用程式,要在 Finder 中將它移至「應用程式」,安裝檔案則可以刪除。

額外安裝的部分有:

  • GitHub Desktop
  • HomeBrew(Mac 的套件管理工具)
  • iTerm2(可額外美化終端機)
  • Z shell(Zsh)(改良過的 BASH,有很多的功能如:自動補全、自動提示、顏色等)
  • Oh My Zsh(Oh My Zsh 是一個 Zsh 的框架)

@godmmt godmmt added 8 hard level 8 and removed 3 hard level 3 8 hard level 8 labels Nov 23, 2023
@godmmt godmmt closed this as completed Dec 1, 2023
@godmmt
Copy link
Member Author

godmmt commented Dec 1, 2023

BAIFA 專案已經成功起好了

步驟:

  1. colone repo
  2. npm install
  3. npm run dev
    started server on 0.0.0.0:3000, url: http://localhost:3000

@godmmt godmmt added the 8 hard level 8 label Dec 1, 2023
@godmmt
Copy link
Member Author

godmmt commented Dec 6, 2023

pre commit references:

https://pre-commit.com/
https://myapollo.com.tw/blog/pre-commit-the-best-friend-before-commit/
https://blog.kyomind.tw/pre-commit/

Installation

Before you can run hooks, you need to have the pre-commit package manager installed.
Using homebrew:
brew install pre-commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8 hard level 8 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant