Maintainer: Danijel Beljan
Q Party Slogans is one tool of the Q toolbox to render party slogans. Test it in the demo.
git clone git@github.com:nzzdev/Q-party-slogans.git
cd ./Q-party-slogans
nvm use
npm install
npm run build
No configuration is needed for this tool.
Start the Q dev server:
npx @nzz/q-cli server
Run the Q tool:
node index.js
The testing framework used in this repository is Code.
Run the tests:
npm run test
When changing or implementing...
- A
route
, it needs to be tested in thee2e-tests.js
file - Something on the frontend, it needs to be tested in the
dom-tests.js
file
We provide automatically built docker images at https://hub.docker.com/r/nzzonline/q-party-slogans/. There are three options for deployment:
- use the provided images
- build your own docker images
- deploy the service using another technology
- Deploy
nzzonline/q-party-slogans
to a docker environment - Set the ENV variables as described in the configuration section
The tool structure follows the general structure of each Q tool. Further information can be found in Q server documentation - Developing tools.
The tool uses the svelte framework to render the markup on server-side.
There are no options for this tool.
Copyright (c) 2019 Neue Zürcher Zeitung. All rights reserved.
This software is published under the MIT license.