To automatically setup the project, run the following command:
sh scripts/setup.sh
- Install the dependencies
pnpm install
- Setup husky
pnpm prepare
- Set executable permission for commit-msg
chmod +x .husky/commit-msg && chmod +x .husky/pre-commit
- Configure the dotenv
4.1. Copy the .env.example
file to .env
cp .env.example .env
4.2. Create the symbolic links for each app
- On Linux/MacOS
cd apps/<APP_DIR>; ln -s ../../.env .env; cd ../..
- On Windows
cd apps/<APP_DIR>; mklink .env ..\..\env; cd ../..