Friday 29 January 2016

Install Nginx with uWSGI and Django on Raspberry Pi


This tutorial is aimed at installing a lightweight web-server  on the Raspberry Pi with python support.
The required packages are:
1. django
2. uWSGI
3. NGINX
4. Python

Note: This installation is based on the assumption you already have a correct django project.

Friday 22 January 2016

Send your public IP Address via mail.

I have a setup that i like to monitor/access remotely but the IP address assigned to me by my ISP is DHCP assigned and changes all the time and paying for a static address is expensive.
I have a raspberry pi that i use for automating processes and this hosts the script I wrote a python script that gets my public IP every 5 mins and sends it to me via mail.