-
Install project dependencies
yarn install
-
Create a local env file (
.env.local
)# From this directory. cp .env.example .env.local
Optionally, you can pull the environment variables that are defined in Vercel by globally installing the Vercel CLI:
yarn global add vercel
Once
vercel
is installed on your computer, you can save the environment variables to your local:# From this directory. vercel env pull --environment=development .env.local
-
Start the NextJS application
yarn workspace psu-global dev
yarn workspace psu-global cypress:open
to run Cypress tests in UI modeyarn workspace psu-global e2e
to run Cypress e2e tests in UI modeyarn workspace psu-global e2e:headless
to run Cypress e2e tests in headless mode