# nani.framagit.io This repository contains the code for the website of the Nani project. It uses haunt to build a static website and some guile code to generate dictionaries and downloadable content for the project. ## Building and testing ### Dependencies To build the website, you will need the following software: * haunt * guile As well as more common software: * make * wget * gzip * sed, coreutils, grep, findutils, ... The easiest way to do this is to use [guix](https://gnu.org/software/guix) and install the necessary components in a temporary environment: ```bash guix environment --ad-hoc guile haunt ``` ### Testing locally To test the website, build it with: ```bash make ``` This can take quite a lot of time because it needs to build a lot data. Then run a server with: ```bash haunt serve ``` You can now connect to localhost to view the website. ### Updating dictionary data Dictionaries are served by this website. The first time you build the website, make will take care of downloading the necessary data and building the dictionary files. Later, it will not download the files anymore, but you can update them explicitly with: ```bash make download ```