Skip to content

MLRS/gabra-web

Repository files navigation

Ġabra Web Frontend, v4

Ġ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:

  • v1 (CakePHP 2 and PHP 5)
  • v2 (CakePHP 3 and PHP 7)
  • v3 (Vue.js v2)

Requirements

The path to the API is specified in the .env* files. For documentation about these, see Vite docs on environment variables.

Project setup

Install all depedencies needed for building app.

npm install

Compile with hot-reload for development

npm run dev

Then open http://localhost:5173 in a browser.

Compile and minify for production

npm run build

The contents of dist can then be served statically.

With Docker

./build-with-docker.sh

This will install requirements and build the app inside a Docker container, then copy the built app to the dist folder locally.

Lint and fix files

npm run lint

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •