/gabra-web

Front-end website for Ġabra

Primary LanguageVue

Ġabra Web Frontend, v3

Ġabra is an open lexicon for Maltese.

This repository contains the source code for the Ġabra web site at http://mlrs.research.um.edu.mt/resources/gabra/

This repository (version 3) begins in late 2019 with a rewritten version of the site as a frontend-only Vue.js app. 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)

Requirements

The path to the API is specified in the .env* files. For documentation about these, see here.

Project setup

Install all depedencies needed for building app.

npm install

Compile with hot-reload for development

npm run serve

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

Compile and minifies for production

npm run build

The contents of dist can then be served statically.

Lint and fix files

npm run lint