Installing the Application
Prerequisites
- Node v22
- Yarn — the repository uses Yarn 4 (
node_moduleslinker). Anyyarnbinary ≥1.22 works: it delegates to the committed release in.yarn/releases/viayarnPath, and Corepack users get the version pinned inpackage.json'spackageManagerfield. - 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
Download
secretfile from this Confluence page. In case you don't have access to the page, please request so from the FE Platform LeadsInstall secrets:
yarn secretsYou will be prompted to select "preview" or "production" environment. We strongly recommend that, unless necessary to reproduce production-only issues, you choose "preview".
(Optional) Create a local override for environments variables:
touch .env.local
4. Run the application 🚀
yarn dev