Giter VIP home page Giter VIP logo

ns8-newui's Introduction

ns8-newui

This is a template module for NethServer 8. To start a new module from it:

  1. Click on Use this template. Name your repo with ns8- prefix (e.g. ns8-mymodule). Do not end your module name with a number, like ns8-baaad2!

  2. An automated initialization workflow starts: wait for its completion. You can follow the run inside the "Actions" tab, the workflow is named "Initial commit"

  3. You can now clone the repository

  4. Edit this README.md file, by replacing this section with your module description

  5. Commit and push your local changes

Install

Instantiate the module with:

add-module ghcr.io/nethserver/newui:latest 1

The output of the command will return the instance name. Output example:

{"module_id": "newui1", "image_name": "newui", "image_url": "ghcr.io/nethserver/newui:latest"}

Configure

Let's assume that the newui instance is named newui1.

Launch configure-module, by setting the following parameters:

  • <MODULE_PARAM1_NAME>: <MODULE_PARAM1_DESCRIPTION>
  • <MODULE_PARAM2_NAME>: <MODULE_PARAM2_DESCRIPTION>
  • ...

Example:

api-cli run module/newui1/configure-module --data '{}'

The above command will:

  • start and configure the newui instance
  • (describe configuration process)
  • ...

Send a test HTTP request to the newui backend service:

curl http://127.0.0.1/newui/

Uninstall

To uninstall the instance:

remove-module --no-preserve newui1

Testing

Test the module using the test-module.sh script:

./test-module.sh <NODE_ADDR> ghcr.io/nethserver/newui:latest

The tests are made using Robot Framework

ns8-newui's People

Contributors

stephdl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.