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.
|
4 months ago | |
---|---|---|
static/css | 4 months ago | |
templates | 4 months ago | |
README.md | 4 months ago | |
config.py.example | 4 months ago | |
diagram.py | 4 months ago | |
graphiclg.service | 4 months ago | |
requirements.txt | 4 months ago | |
web.py | 4 months ago | |
wsgi.py | 4 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