Choices
lets you build a single page application to let users traverse
a set of related options and get feedback from their choices.
- Copy
config-example.yml
toconfig.yml
and adapt it to your needs - Test your configuration with
clj -M:test
- Compile with
clj -M:js
- Your static files are ready in
resources/public/
- Copy
config-example.yml
toconfig.yml
and adapt it to your needs - Compile with
clj -M:fig
- Check your web browser on http://localhost:9500
Choices
come with three themes: bulma, the default, chota and dsfr.
Don't use the dsfr theme unless you are authorized to.
To set chota as the theme, run clj -X:set :theme chota
.
This will update config.yml
and resources/public/index.html
to use
chota as the theme when generating the static website.
Here are some examples where Choices
is used:
- https://guide-juridique-logiciel-libre.etalab.gouv.fr/
- https://guide-juridique-open-data.etalab.gouv.fr/
- https://publiccodenet.github.io/assessment-eligibility/
Contributions are welcome. You can send feedback and patches to ~bzg/[email protected]. For patches, please configure your local copy of the repository to add a prefix to the subject line of your emails:
~$ git config format.subjectPrefix 'PATCH choices'
If you like Clojure(script), please consider supporting maintainers by donating to clojuriststogether.org.
2019-2024 Bastien Guerry
This application is published under the EPL 2.0 license, except for
the fonts in resources/public/fonts
.