Giter Club home page Giter Club logo

pcs-web-ui's Introduction

PCS WEB UI

Web interface for pcs - a Corosync and Pacemaker configuration tool.

Prerequisites

Preparation

  • git clone <repository-url> this repository
  • change into the new directory
  • make init

Development

Running dev environment

  • make app
  • make dev
    • dev backend doesn't run fully featured backend mock
    • it runs only scenario with limited features
  • Open http://localhost:3000 to view it in the browser

Running tests

  • make tests

Building and installation

  • make build
    • you can use BUILD_USE_CURRENT_NODE_MODULES=true make build if correct node modules already exists
  • production build is created inside build directory
  • content of build directory copy to pcsd/public/ui/ directory

Building and installation for cockpit

  • BUILD_FOR_COCKPIT=true make build
  • production build is created inside build directory
  • content of build directory copy (or symlink) to the path where cockpit will find it, e.g.
    • mkdir -p ~/.local/share/cockpit
    • ln -snf "$PWD"/build ~/.local/share/cockpit/ha-cluster

pcs-web-ui's People

Contributors

ctrlzmaster avatar dependabot[bot] avatar devat avatar idevat avatar kmalyjur avatar marxsk avatar mirecheck avatar ondrejmular avatar tomjelinek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcs-web-ui's Issues

`make build` requires an interactive response

Running make build may occasionally end up with a request for interactive response like this:

 Need to install the following packages:
   npm
 Ok to proceed? (y)

It comes from npx npm ci.
The problem is, that whenever make build is run from a script (or an Ansible playbook), the script gets stuck as npx is waiting for a response forever. Is there perhaps a npx parameter that would make it assume yes?

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.