In the previous post I provided a brief overview of Let’s Encrypt, a service (currently in public beta) intending to expand the use of HTTPS by providing free certificates and a client to automate most of the work involved with obtaining, installing and renewing the certificates. In this post I step through the process of using Let’s Encrypt to set up HTTPS on this site. [Read more…]
Archives for February 2016
HTTPS is the secure version of the HTTP protocol that is the foundation of web communication between a browser and a web site. An HTTPS connection is an important aspect of any website. HTTPS helps to instill confidence and trust in a website by insuring the privacy, integrity and safety of any interactions a client has with the website. If that is not enough to convince you of the importance of HTTPS consider that Google rewards secure websites with higher rankings.
Until very recently, enabling HTTPS for a website involved an expenditure of money for the certificate and a lot of time spent dealing with the complexity of obtaining, installing, and renewing the certificate. [Read more…]
What is virtualenv
It’s pretty typical to do Python coding within a virtual environment. The virtual environment isolates any Python packages/dependencies to that environment so they do not impact your system level packages or packages in another virtual environment. It solves the common dilemma of maintaining dependencies when “Project A depends on version 1.x but Project B depends on version 2.x”.
You can set up a different virtual environment for each of your Python projects, each with different package dependencies or different versions of the same packages. Or you can set up a new virtual environment to test how your project will work with different package versions.
The problem with updating Python in a virtualenv
A glaring issue with
virtualenv is that although it is quite simple to install/remove/update or otherwise maintain any Python packages installed in the virtual environment,
virtualenv provides no built in way to upgrade or change the version of the Python interpreter installed in the virtual environment. [Read more…]