Web looking glass for FRRouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mael G. 86fcbfb363 not required func 1 month ago
static/css upgrade 1 month ago
templates upgrade 1 month ago
README.md upgrade 1 month ago
config.py.example upgrade 1 month ago
diagram.py upgrade 1 month ago
graphiclg.service upgrade 1 month ago
requirements.txt upgrade 1 month ago
web.py not required func 1 month ago
wsgi.py upgrade 1 month ago

README.md

Graphic Looking Glass

GLG is a Python web looking glass for routers using FRRouting.

Requirements

  • Linux server
  • Python 3.7+ with pip3 & python3-venv
  • git
  • graphviz
  • Internet connectivity
  • SSH client

Production

git clone https://git.gnous.eu/mael/GraphicLG  /opt/GraphicLG #Clone the repository
cd /opt/GraphicLG
python3 -m venv graphiclgenv #Create venv
source graphiclgenv/bin/activate #Enter the venv
pip3 install -r requirements.txt #Install requirements
mv config.py.example config.py #Copy config and edit it !
deactivate #Exit venv
sudo mv /opt/GraphicLG/graphiclg.service /etc/systemd/system/graphiclg.service
sudo useradd -r graphiclg #Create the graphiclg system account 
sudo chown -R graphiclg:graphiclg /opt/GraphicLG/ 
sudo systemctl start graphiclg #Start GraphicLG service
sudo systemctl enable graphiclg #Enable GraphicLG on system startup

Todo

  • Better Readme / Production guide
  • Other router support
  • Theming