The Zonemaster GUI - part of the Zonemaster project
Find a file
Mats Dufberg d473b681d2
Merge pull request #491 from zonemaster/master
Merge master into develop (GUI)
2025-03-05 13:49:15 +01:00
.github Update snapshots and playwright version 2024-06-13 11:53:22 +02:00
docs Add cautionary message when updating snapshots through Docker 2024-06-13 14:31:15 +02:00
e2e Remaining fixes for the Slovenian translation 2025-02-27 18:37:35 +01:00
scripts cleanup old faq architecture files 2024-03-04 11:58:57 +01:00
src Merge pull request #488 from matsduf/preparation-release-v2024.2.1 2025-03-04 13:35:26 +01:00
.browserslistrc upgrade dependencies 2021-08-19 15:05:42 +02:00
.editorconfig first commit 2018-06-21 09:10:55 +02:00
.gitignore upgrade to angular 13 2022-10-17 10:58:18 +02:00
angular.json Add slovenian translation 2025-02-27 18:20:47 +01:00
Changes Updates for release v2024.2.1 2025-03-03 17:34:01 +01:00
compress.js first commit 2018-06-21 09:10:55 +02:00
LICENSE Updates license statements 2021-06-09 20:08:40 +02:00
package-lock.json Updates dependencies 2024-12-06 23:00:05 +01:00
package.json Updates for release v2024.2.1 2025-03-03 17:34:01 +01:00
playwright.config.ts update visual comparison options 2023-05-15 09:07:06 +02:00
proxy.conf.json improve development environment 2021-08-04 11:37:54 +02:00
proxy.disabled.conf.json improve development environment 2021-08-04 11:37:54 +02:00
README.md update readme 2024-01-24 10:49:48 +01:00
tsconfig.json upgrade angular to version 12 2022-04-27 14:02:18 +02:00
zonemaster.conf-example Add slovenian translation 2025-02-27 18:20:47 +01:00

Zonemaster Web GUI CI status

Purpose

This module is the Web Interface part of the Zonemaster project. For an overview of the Zonemaster software, please see the Zonemaster repository.

Prerequisites

Before you install the Zonemaster Web GUI module, you need the Zonemaster Engine test framework installed. Please see the Zonemaster-Engine installation document.

You also need a running Zonemaster-Backend component. Please see the Zonemaster-Backend installation document.

Installation

Follow the detailed installation instructions.

Configuration

The configuration instructions for the Backend can be found in the Backend configuration document.

The configuration instructions for the GUI can be found in the GUI configuration document.

Documentation

There is a public documentation. Some more specific documents can be found in the docs directory.

Contribution

This project was generated with Angular-CLI 1.6.8. It uses the Angular 2+ framework with all its tools.

The source code of the application is available in ./src/app folder.

The components folder is composed of subfolders that represent the main components. Each folder of component contain three files:

  • *.component.css: the component's style configuration;
  • *.component.html: the component's HTML code;
  • *.component.ts: the component's TypeScript code.

All assets are available in the src/assets folder. It is split by concern; the style configurations are in the css, images are in the images folder, etc.

All translation files are in the src/locale folder.

The environment defaults of the application are in the src/environments folder. environment.ts is used for development purposes, the environment.prod.ts for production, and the environment.test.ts for testing.

In order to contribute:

  • Install Nodejs
  • Fork the Zonemaster GUI repository on Github into your own user on Github.
  • Clone your fork to your working environment.
  • Go to the folder and install project dependencies with npm install
  • Update configuration files in src/assets/app.config.json to add a Backend API endpoint (or leave the default)
  • Make your changes, test them and push them to your fork on Github
  • From your fork, make a Pull Request against the zonemaster/zonemaster-gui repository. Please always make the Pull Request against the develop branch.
  • Thank you for your contribution!

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/en. The app will automatically reload if you change any of the source files.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Test

See Testing.

License

This is free software under a 2-clause BSD license. The full text of the license can be found in the LICENSE file included in this respository.

Images src/assets/images/person_looking_at_computer.svg and src/assets/images/world_connected.svg are taken from https://undraw.co, full license.