mirror of
https://github.com/SwissCovid/swisscovid-qr-landingpage.git
synced 2026-08-26 01:14:20 +00:00
SwissCovid QR Landingpage | Read-only mirror of https://github.com/SwissCovid/swisscovid-qr-landingpage — SwissCovid. Issues & pull requests at the source.
- JavaScript 52.2%
- HTML 19.2%
- SCSS 18.2%
- Python 10.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .well-known | ||
| assets | ||
| content/generate | ||
| i18n | ||
| layouts | ||
| static | ||
| translation | ||
| .gitignore | ||
| config.toml | ||
| getTranslations.py | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| webpack.abn.js | ||
| webpack.common.js | ||
| webpack.dev.js | ||
| webpack.prod.js | ||
| yarn.lock | ||
swisscovid-qr-landingpage
Build
This project requires Hugo 0.78.2 which can be installed from here. Careful the extended version is needed for SCSS preprocessing.
Additional dependencies need to be installed using the yarn package manager with yarn install:globals; yarn install.
Build Site
The javascript can be compiled using yarn build:TARGET:js where target is one of {prod, abn, dev}. This site can then be built with the command hugo.
Start Server
Simlarly a dev server can be started using yarn watch:js and hugo server.
License
This project is licensed under the terms of the MPL 2 license. See the LICENSE file.