semanticeditor / INSTALL

Package install
===============

The 'semanticeditor' package must be on your Python path, by whatever
method.

Dependencies
============

 * Django, tested on trunk r9538 (1.0 perhaps OK?)
 * django-cms2, test on r172 or later
 * elementtree 1.2.7 or greater
 * Javascript dependencies are included in media/

Settings
========

 * Normal Django settings
 * Normal django-cms2 settings
 * INSTALLED_APPS - add "semanticeditor"
 * SEMANTICEDITOR_MEDIA_URL = os.path.join(MEDIA_URL, "semanticeditor/")

Templates
=========
Automatically found if 'django.template.loaders.app_directories.load_template_source'
is in TEMPLATE_LOADERS.

Media
=====
media files: media/semanticeditor needs to be copied/linked/served so that it is
under MEDIA_URL.  (i.e. side-by-side with the media/cms directory).

URLS
====
Add the following to the root URL conf::

  (r'^semantic/', include('semanticeditor.urls')),

These are needed for views.

Models
======
Install the models
::

  ./manage.py syncdb
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.