The following Python and Django modules must be installed on the system before installing the COG workspace. Please refer to each package for its specific installation instructions:
The COG scientific workspace software is hosted within the NCPP SVN Source Force repository. To check out the latest software version from the trunk:
svn export https://ncpp.svn.sourceforge.net/svnroot/ncpp/COG COG
The COG distribution includes the following software dependencies: filebrowser, tiny_mce, blueprint and yui.
Installing the package will automatically create an empty database that conforms to the latest version of the schema, located in the “/database” subdirectory. After downloading the software, you must create a super-user account by running the following Django command (within the installed COG directory), and answering the ensuing questions appropriately:
python manage.py createsuperuser
To start the application, cd to the COG directory and run the Django command:
python manage.py runserver
Assuming you have deployed on localhost, you can start using the application by accessing the following URLs:
An existing installation can be easily migrated from one installation directory to another, following the steps below:
Or, simply, the whole directory structure can be copied from one location to the other...
The COG application can be easily upgraded to a newer version, provided the database schema is upgraded as well. Simply follows these steps:
The last step will evolve the schema of the schema used by the cog application to the latest version.