- Run the following command under the project root path.
cp ./.env ./.env.development
After copy the dotenv file template, fill the corresponding config in the new dotenv file.
- Install dependencies via pnpm.
pnpm i
- Start the dev server.
pnpm dev
If terminal console prints message: hint: The '.husky/commit-msg' hook was ignored because it's not set as executable.
, pls run the following command in terminal. Let the package husky grants the access to run.
chmod ug+x .husky/*
chmod ug+x .git/hooks/*