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 devor with env settings
npm install
NEXT_PUBLIC_PUBLIC_BASE_URL='http://lobbywatch.local' NEXT_PUBLIC_DEBUG_INFORMATION=1 npm run devThe main branch is automatically deployed to production on deplo.io.
Deployments can be manipulated with nctl or via cockpit.nine.ch.
nctl update app lobbywatch-website-testing --replicas=1 --git-revision=feat/whateverwhen testing is finished make sure to stop the testing stage by running
nctl update app lobbywatch-website-testing --pauseGoogle 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 translationsThe source code is «BSD 3-clause» licensed.