From 5cb700a74022fa0fc592b5b8d2244b12d7e5405b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anto=20Kein=C3=A4nen?= Date: Tue, 5 May 2026 14:53:52 +0300 Subject: [PATCH] docs: clarify the documentation around .env --- .env.example | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..12e2a23 --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +# https://digitransit.fi/en/developers/api-registration/ +DIGITRANSIT_TOKEN= diff --git a/README.md b/README.md index fd8acdd..c69ff66 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ npm install npm run dev ``` +To set up the correct environment variables, rename `.env.example` to `.env` and fill in your `DIGITRANSIT_TOKEN`. You can obtain a token by following [this guide](https://digitransit.fi/en/developers/api-registration/). + ## Project structure Slides are defined as parallel routes in [`src/app/(infoscreen)/layout.tsx`]()