Experimental REST API for IPFire
- Install Python[3]
distutils
:pakfire install python-distutils
- Install
pip
:python3 -m ensurepip --upgrade
- Download relevant packages (
requirements.txt
) by installing from source:sudo python3 setup.py install
- Run the Python server:
python3 server.py
/var/ipfire/${COMPONENT}/
contains general introspective Perl scripts/srv/web/ipfire/cgi-bin/
contains frontend / rendering code
- Check
/var/log/httpd/error_log
- Check
/var/ipfire/general-functions.pl
- Run
perl /srv/web/ipfire/cgi-bin/index.cgi