python rewrite of ipaddr.ca
- python-virtualenv python-pip uwsgi
cd /home/ipaddr
git clone https://github.com/tbaschak/ipaddr.ca-python
cd ipaddr.ca-python
virtualenv ipaddrenv
source ipaddrenv/bin/activate
pip install flask uwsgi
Afterwards setup this application like any other uwsgi/flask/python application, for a refresher visit this handy DigitalOcean Community Tutorial. There is an ini file included for uwsgi and a nginx configuration vhost.