Skip to content

Geek-free Web App for setup and mantainance of Libremesh nodes built on Preact

License

Notifications You must be signed in to change notification settings

libremesh/lime-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d4ab7c · Apr 3, 2024
May 20, 2020
Mar 12, 2024
Feb 18, 2022
Apr 28, 2023
Nov 15, 2022
Apr 28, 2023
Oct 6, 2022
Apr 3, 2024
Mar 25, 2024
Mar 12, 2024
Apr 19, 2023
May 17, 2018
Feb 18, 2022
Apr 28, 2023
Apr 19, 2023
Oct 6, 2022
Apr 28, 2023
Mar 11, 2024
Oct 6, 2022
Apr 19, 2023
Sep 16, 2020
Apr 3, 2024
Jul 11, 2017
Nov 15, 2021
Oct 6, 2022
May 16, 2018
Oct 6, 2022
Apr 28, 2023
Apr 19, 2023
Oct 6, 2022
Apr 28, 2023
Feb 25, 2019
Apr 3, 2024
Apr 3, 2024
Apr 3, 2024
May 3, 2023
Apr 28, 2023
Apr 19, 2023
May 3, 2023
May 3, 2023

Repository files navigation

LiMeApp

Greenkeeper badge Build Status Commitizen friendly

Geek-free Web App for setup and mantainance of Libremesh nodes built on Preact



Screenshots

Development Environment Installation

Clone this repo:

git clone https://github.com/libremesh/lime-app.git limeapp
cd limeapp

Install the dependencies:

npm install

# Or with docker
docker-compose run --rm ui npm i

Development Workflow

Start a live-reload development server

The LiMeApp is a frontend application for services running on a LibreMesh router. By running:

npm run dev

# Or with docker
docker-compose up

we can serve the LiMeApp with hot reloading and it will proxy every backend request to http://10.13.0.1, the default ip address for LibreMesh routers.

If you already have a LibreMesh router reachable at any given IP address, let's say 10.5.0.9, you can use it as a backend with:

env NODE_HOST=10.5.0.9 npm run dev

If you want, you can also setup a virtual LibreMesh node following lime-packages: TESTING.md, which will be available at http://10.13.0.1 by default.

Generate a production build

npm run build:production

Now you can copy the bundles to the router:

ssh root@10.13.0.1 "rm -rf /www/app/*" && scp -r ./build/* root@10.13.0.1:/www/app

Run tests

npm run tests

Contribute

Plase, read the "How to contribute and code of conduct" documentation. We also have a Tutorial for newcomers :)