This thing does exhaustive search of "Spoonerisms" in Finnish.
sananmuunnos
- cli versionsananmuunnos-webapp
- rocket application to provide web interface
This is a standard rust project, so cargo works as it should.
Javascript app is in sananmuunnos-js
. It uses vite, svelte and tailwind css.
npm run dev
provides dev server.
sananmuunnos-webapp
requires two environment variables to run.
STATIC_DIR
should be location of static content. Locallysananmuunnos-js/dist
works.ROCKET_DATABASE
should be database config, in form'{sananmuunnos_db={url="postgres://<dbuser>:<dbpassword>@<dbhost>/<dbname>"}
- Use
diesel migration run
to create tables on target postgres.