Grenadingue / htest

An hardware tester assistant designed for Ordissimo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htest

htest = hardware tester

/!\ Warning: this project is currently not usable in a production environment, it lacks a major part of its development

Description

An hardware tester assistant, build on the top of a web server, designed for Ordissimo

Summary

User documentation

See user guide

Technical documentation

  • Compatibility: Debian/Ubuntu and derivates
  • Prerequisites: MongoDB >= 2.4 and Node.js >= 6 are already installed

Install

  • Go the the "release" tab of the github page
  • Select and download the last .deb available
  • Install the package sudo dpkg -i htest-server_X.X_all.deb on the target machine
  • Edit /etc/htest-server/base.config.json for your needs
{
  "webServer": {
    "port": 8080, // server listening port
    "hostname": "127.0.0.1" // server listening hostname (the server will deny any connection attempt with any other hostname)
  },
  "dataBase": "mongodb://username:password@host:port/database_name", // mongoDB server connection url
  "fileSystem": { // (the server creates the directories if they do not exist)
    "uploadDirectory": "/tmp/htest-server/uploads", // server upload directory (clients to server)
    "downloadDirectory": "/tmp/htest-server/downloads" // server download directory (server to clients)
  }
}
  • Start the htest-server daemon sudo systemctl start htest-server
  • Retrieve the daemon status sudo systemctl status htest-server

Update

  • Go the the "release" tab of the github page
  • Select and download the last .deb available
  • Update the package sudo dpkg -i htest-server_X.X_all.deb on the target machine
  • Edit /etc/htest-server/base.config.json for your needs if /etc/htest-server/base.config.json.new has a different format
  • You may need to reload systemctl configuration by typing sudo systemctl daemon-reload
  • Restart the htest-server daemon sudo systemctl restart htest-server
  • Retrieve the daemon status sudo systemctl status htest-server

Development

Build and launch

See build and launch instructions

Software packaging

See packaging instructions

Current state

Overview

Here is a diagram of the current implementation state. You can differenciate three different applicative layers, the frontend, the API and the backend. On each different layer you can find three redundant components, the dashboard, the test trees library and the machines tests. These three components represent the project's functionnalities from the eye of final user, in other words, the three different parts of the graphical interface the user will interact with. You can look at the grey note to get the colors representation of the different items.

implementation overview

For more details about the current implementation look at the project's specifications.

Specifications

See project's specifications. Be warned, it's a french/english ratatouille

API

See application programming interface description

Future

See the todo list for details about what's not done and what to do

See also the missing lexical validation description

About

An hardware tester assistant designed for Ordissimo

License:MIT License


Languages

Language:JavaScript 67.4%Language:CSS 23.8%Language:HTML 8.3%Language:Shell 0.3%Language:Makefile 0.1%