Ġabra is an open lexicon for Maltese.
This repository contains the source code for the frontend Ġabra web site at http://mlrs.research.um.edu.mt/resources/gabra/
For the backend code, see gabra-api.
Previous versions of the Ġabra site are available in these branches:
- Node.js
- Access to Ġabra API web service, either locally or live. See https://github.com/MLRS/gabra-api.
The path to the API is specified in the .env* files.
For documentation about these, see Vite docs on environment variables.
Install all depedencies needed for building app.
npm installnpm run devThen open http://localhost:5173 in a browser.
npm run buildThe contents of dist can then be served statically.
./build-with-docker.shThis will install requirements and build the app inside a Docker container,
then copy the built app to the dist folder locally.
npm run lint