Blog Archive for July 16, 2017

Setting up git

July 16, 2017

To set a default user for a git repository, first create it:

$ git init

Next, set the user

$ git config user.name "Tim Sawyer" 
$ git config user.email "user@example.co.uk"

Tags: git config

Python 3 on Mac

July 16, 2017

I'm starting to upgrade an existing Django application form python2 to python3, and also moving to develop on a mac rather than linux.

Virtual Env

In order to create a virtualenv with python 3 (and 2) in it, use the following command:

$ virtualenv -p python3 env_name

You can then …