Deployment
Checkout the workshop branch
Open a new terminal
In the new terminal, run the following:
git checkout workshop-start
Install dependencies
In the same terminal, run the following:
pnpm i
Deploy the application
In the same terminal, change into the
backenddirectorycd backendRun the deployment target
pnpm run deployYou'll be prompted to a stage name. Enter your first name and hit
Enter ⏎:pnpm run deploy
Please enter a name you'd like to use for your personal stage. Or hit enter to use node: joe
Run the tests
Unit tests:
Open a new terminal
In the new terminal, run the following:
pnpm run test
Integration tests:
Open a new terminal
In the new terminal, run the following:
pnpm run test:integration
Start the documentation:
Open a new terminal
In the new terminal, run the following:
pnpm run docs