ophot / scripts /

Filename Size Date modified Message
958 B
777 B
10.1 KB
71 B
960 B

Utility scripts for Ophot

This directory contains utility scripts which may be of use in developing Ophot or managing installed Ophot systems. A brief description of the scripts in this directory follows.

This README was last updated on 5 January 2012.


  • - migrates data from an old database to a new database if the new database schema is an extension of the old database schema
  • - script which resets the database to an initial empty state (warning: this will remove any photos which have been uploaded to the application)
  • - Python script which runs the Ophot Flask application in the current directory

For more information on how to use each script, see the documentation string in each module.


To run the unit tests for the scripts, run the following from the top-level directory (that is, the parent of this directory):

python -m unittest scripts.tests