Prerequisites:
- Git
- pnpm 8
- Node JS 21
Others
- VS Code Extension (optional but recommend to install)
- Clone repository
- Clone and install submodules together
'git clone --recurse-submodules https://github.com/yuan116/yuan116.github.io.git
' - Clone and install submodules separately
'git clone https://github.com/yuan116/yuan116.github.io.git
'
'git submodule update --init --recursive
'
- Clone and install submodules together
- Switch branch to '
dev
', run command 'git checkout dev
' - Install node modules, run command '
pnpm install
' - Duplicate '
.env.example
' and rename to '.env
' - Start dev server, run command '
pnpm run dev
'
git submodule update --remote