Skip to main content

Deployment

Checkout the workshop branch

  1. Open a new terminal

  2. In the new terminal, run the following:

    git checkout workshop-start

Install dependencies

  1. In the same terminal, run the following:

    pnpm i

Deploy the application

  1. In the same terminal, change into the backend directory

    cd backend
  2. Run the deployment target

    pnpm run deploy

    You'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:

  1. Open a new terminal

  2. In the new terminal, run the following:

    pnpm run test

Integration tests:

  1. Open a new terminal

  2. In the new terminal, run the following:

    pnpm run test:integration

Start the documentation:

  1. Open a new terminal

  2. In the new terminal, run the following:

    pnpm run docs