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. a66bce8c4c
maj
1 month ago
static/css maj 1 month ago
templates maj 1 month ago
.gitignore maj 1 month ago
README.md upgrade 7 months ago
config.py.example upgrade 7 months ago
diagram.py maj 1 month ago
graphiclg.service upgrade 7 months ago
requirements.txt maj 1 month ago
web.py maj 1 month ago
wsgi.py upgrade 7 months 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