Lobbywatch.ch build with React.js and the Next.js Framework.
To run the application you'll need Node.js v14 or higher.
Run the following commands to start a local development server:
npm install
npm run dev
or with env settings
npm install
NEXT_PUBLIC_PUBLIC_BASE_URL='http://lobbywatch.local' NEXT_PUBLIC_DEBUG_INFORMATION=1 npm run dev
The main
branch is automatically deployed to production by Vercel.
Google sheet containing the translations:
https://docs.google.com/spreadsheets/d/1FhjogYL2SBxaJG3RfR01A7lWtb3XTE2dH8EtYdmdWXg/edit
Importing Google sheet translations requires a Google API Key, see https://github.com/interactivethings/gsheets#google-sheets-api-key
Save your API in the .env
file:
GSHEETS_API_KEY=
Finally, import the translations:
npm run translations
The source code is «BSD 3-clause» licensed.