Read https://httpd.apache.org/docs/2.2/ssl/ssl_intro.html and http://blog.hartleybrody.com/https-certificates/
Discussion.
Git exercises from Day 24: Thursday, April 3, 2014.
Other stuff
SQL loading & Python modules.
- See setup() in imageapp/__init__.py (link); this contains stuff that you only run once an app. It’s in a function so you can choose to run it or not to run it (e.g. for tests)
- See imageapp/image.py (link). The ‘images = {}’ will be run on import, no matter what you do. There’s no way to disable it, in particular.
tl;dr? Almost always put code in a function.
Q: where should you put database creation/data model definition code? (See sqlite/create.py (link on day23 branch)
More git reading: http://who-t.blogspot.com/2014/03/using-git-next-level.html
A quest for understanding Web stuff: http://jakearchibald.github.io/request-quest/
This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.
For an introduction to the documentation format please see the reST primer.