The City of Toronto provides an excellent resource how to do this.