Fork of Troggle for complete overhaul of front-end code: Troggle Unchained
Go to file
substantialnoninfringinguser c0b274767b [svn] Add photos wiki syntaxes: e.g.
[[display:centre photo:andyc.jpg]] where centre is a class applied to image, and andyc.jpg is the filename of a Photo model instance. Image will be displayed as thumbnail with link to full size image.
[[photo:andyc.jpg]] will produce a link to the admin page for the andyc.jpg Photo model instance.
[[photo:andyc.jpg Title of the link]] will produce a link to the admin page for the andyc.jpg Photo model instance with link text "Title of the link"
2009-07-02 04:10:51 +01:00
docsEtc [svn] Draft of paper for ICS. 2009-05-13 05:51:21 +01:00
expo [svn] Add photos wiki syntaxes: e.g. 2009-07-02 04:10:51 +01:00
export [svn] Adding logbook export features. Troggle can now produce .txt or .html logbooks through the controlPanel or via an action in the LogbookEntry admin pages. 2009-06-18 06:53:52 +01:00
feincms [svn] Updates to allow subcave tree with nice admin. 2009-05-21 19:47:19 +01:00
imagekit [svn] Switch from photologue to imagekit. Less bloat. 2009-05-13 06:24:52 +01:00
media [svn] Fixed accidental removal of fading in margin pictures from main page of eye candy site. 2009-06-28 23:11:45 +01:00
parsers [svn] Add photos wiki syntaxes: e.g. 2009-07-02 04:10:51 +01:00
profiles [svn] Enable profile setup forms. 2009-05-13 05:54:17 +01:00
registration [svn] A few registration updates 2009-05-30 16:17:19 +01:00
templates [svn] Fixed accidental removal of fading in margin pictures from main page of eye candy site. 2009-06-28 23:11:45 +01:00
wiki [svn] Edited wiki page through web user interface. 2009-06-11 06:35:18 +01:00
__init__.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
alwaysUseRequestContext.py [svn] 2009-05-13 05:52:59 +01:00
databaseReset.py [svn] with command option 2009-06-28 20:47:11 +01:00
localsettingsserver.py [svn] survey block object 2009-05-13 05:39:52 +01:00
localsettingsubuntu.py [svn] backup settings 2009-06-09 19:52:32 +01:00
localsettingswindows.py [svn] fix logfile setting 2009-06-09 18:20:55 +01:00
manage.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
middleware.py [svn] Initial troggle checkin 2009-05-13 05:13:38 +01:00
README.txt [svn] Add photos wiki syntaxes: e.g. 2009-07-02 04:10:51 +01:00
save_carefully.py [svn] switched from dodgy manually writing to logfile to using python's logging module, which seems great 2009-05-22 06:17:24 +01:00
settings.py [svn] Updates to allow subcave tree with nice admin. 2009-05-21 19:47:19 +01:00
urls.py [svn] Fixed small semantics issues stopping base.js working with IE. 2009-06-28 19:33:24 +01:00

Troggle is an application for caving expedition data management, originally created for use on Cambridge University Caving Club expeditions and licensed under the GNU Lesser General Public License.

Troggle setup
==========

Python, Django, and Database setup
-----------------------------------
Troggle requires Django 1.1 or greater, and any version of Python that works with it. As of writing this readme, there was no actual Django 1.1 release, so Troggle required the SVN version of Django. Check Django out to somewhere on your PYTHONPATH with the following command:

svn co http://code.djangoproject.com/svn/django/trunk/

If you have an older installation of Django installed on your system, the easiest way to make sure troggle is using the newest version of Django is to simply checkout into your top troggle directory, into a folder called django.

If you want to use MySQL or Postgresql, download and install them. However, you can also use Django with Sqlite3, which is included in Python and thus requires no extra installation.



Troggle itself
-------------
Choose a directory where you will keep troggle, and svn check out Troggle into it using the following command:

svn co http://troggle.googlecode.com/svn/

If you want to work on the source code and be able to commit, you will need to use https instead of http, and your google account will need to be added to the troggle project members list. Contact aaron dot curtis at cantab dot net to get this set up.

Next, you need to fill in your local settings. Copy either localsettingsubuntu.py or localsettingsserver.py to a new file called localsettings.py. Follow the instructions contained in the file to fill out your settings.


Importing legacy data
---------------------
Once troggle is running, log in and then go to "Import / export" data under "admin" on the menu