Skip to main content

Installing the Application

Prerequisites​

  • Node v22
  • Yarn — the repository uses Yarn 4 (node_modules linker). Any yarn binary ≥1.22 works: it delegates to the committed release in .yarn/releases/ via yarnPath, and Corepack users get the version pinned in package.json's packageManager field.
  • Git
  • git-crypt (optional, only if managing secrets)

Steps​

Follow these steps to install & execute the STRV Website application locally.

1. Clone the repository​

git clone git@github.com:strvcom/strv-web.git; cd strv-web

2. Install dependencies​

yarn

3. Setup Environment Variables​

  1. Download secret file from this Confluence page. In case you don't have access to the page, please request so from the FE Platform Leads

  2. Install secrets:

    yarn secrets

    You will be prompted to select "preview" or "production" environment. We strongly recommend that, unless necessary to reproduce production-only issues, you choose "preview".

  3. (Optional) Create a local override for environments variables:

    touch .env.local

4. Run the application 🚀​

yarn dev