Skip to content

simplito/privmx-bridge-panel

Repository files navigation

PrivMX Bridge Panel

PrivMX Bridge Panel is an application used to manage PrivMX Bridge.

Requirements

  • Node.js in 20.10 version;
  • server that will serve static files;
  • PrivMX Bridge Instance.

How to start

First, clone this repository. It includes the PrivMX Bridge Panel sources along with various helpful files.

Bridge Instance

Go to Bridge CLI repo to find scripts to create and initialize PrivMX Bridge on your local machine.

Node.js

To build or develop the app, you need Node.js preferably in version 20.10 or higher.

How to run this software

.env.local file

Create .env.local file in the root of your project and paste the content of .env.example.

This is an example .env.local file:

VITE_PRIVMX_BRIDGE_URL=http://localhost:9111
VITE_LOG_LEVEL=log

Build the app

In a new terminal, go to the project's root folder.

npm install
npm run build

During development you can run npm run preview to ensure everything works. For production: configure a server of your choice to serve static files from dist/ directory.

Running the app in dev mode

In a new terminal, go to the project's root folder and use:

npm install
npm run dev

Check your app at http://localhost:3000/panel.

Building for PrivMX Bridge

If you want to build a panel for PrivMX Bridge working at the same domain, use .env.local with the content below

VITE_PRIVMX_BRIDGE_URL=/
VITE_LOG_LEVEL=error

License

MIT

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •