MaviKulubeliAdam / gui

spotnik graphical user interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gui Version 3

Graphical user interface for the spotnik HAM radio/internet relay.

This is the development documentation, for user documentation please refer to the spotnik documentation.

It consist of Web server providing the necessary APIs and a Web application. It is written in JavaScript using Next.js.

npm and Node.js >= 10 are required.

For debian:

apt update && apt install nodejs npm

Production

Install

ssh spotnik
cd /opt/spotnik
git clone https://github.com/spotnik-ham/gui.git
cd gui
make
make start

Update

ssh spotnik
cd /opt/spotnik/gui
git pull https://github.com/spotnik-ham/gui.git
make stop
rm package-lock.json
make
make start

Run

ssh spotnik
cd /opt/spotnik/gui
make start

https://spotnik

Development

# a faire sur le spotnik
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

cat /root/.ssh/id_rsa.pub 
rajouté a clef sur le site github
https://github.com/settings/ssh/new

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

git clone git@github.com:spotnik-ham/gui.git
cd gui

faire les modifs
tester !
make stop
rm package-lock.json
make
make start

si c'est ok

git add .
git commit -m "description"
git push

Deploy

Build locally and send files over SSH to the spotnik.

make deploy

About

spotnik graphical user interface

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.8%Language:Makefile 1.2%