<commit_before>The docs aren't built, this is an alpha version of servee and may contain many bugs.

First you should put servee in your environment:

pip install -e git+git://github.com/servee/servee.git#egg=servee

I don't think that pip is setup to read the other dependancies from there so navigate to your servee folder in your path now (<env>/src/servee?) and do pip install -r requirements.txt

Then add servee to installed apps and add the two middleware packages.

INSTALLED_APPS = [
    #servee_dependancies
    "ajax_validation",
    "uni_form",
    "staticfiles",
    "sorl.thumbnail",
    "frontendadmin",
    
    #servee
    'servee',
    'servee.inlines',
    'servee.wysiwyg',
    'servee.wysiwyg.tinymce',
    'servee.toolbar',
    #'servee.aetna_product',

    #media
    'servee.contrib.media.image',
    'servee.contrib.media.video',
    'servee.contrib.media.document',
    'servee.contrib.media.gallery',

    #toolbars
    'servee.contrib.tools.gallery',    
]

MIDDLEWARE_CLASSES
"servee.wysiwyg.middleware.WysiwygMiddleware",
"servee.toolbar.middleware.ToolbarMiddleware",

Also Add this setting to settings.py
SRV_WYSIWYG_EDITOR = 'tinymce'
<commit_msg>Add link to django-frontendadmin to readme<commit_after>The docs aren't built, this is an alpha version of servee and may contain many bugs.

First you should put servee in your environment:

pip install -e git+git://github.com/servee/servee.git#egg=servee

I don't think that pip is setup to read the other dependancies from there so navigate to your servee folder in your path now (<env>/src/servee?) and do pip install -r requirements.txt

Then add servee to installed apps and add the two middleware packages.

INSTALLED_APPS = [
    #servee_dependancies
    "ajax_validation",
    "uni_form",
    "staticfiles",
    "sorl.thumbnail",
    "frontendadmin",
    
    #servee
    'servee',
    'servee.inlines',
    'servee.wysiwyg',
    'servee.wysiwyg.tinymce',
    'servee.toolbar',
    #'servee.aetna_product',

    #media
    'servee.contrib.media.image',
    'servee.contrib.media.video',
    'servee.contrib.media.document',
    'servee.contrib.media.gallery',

    #toolbars
    'servee.contrib.tools.gallery',    
]

MIDDLEWARE_CLASSES
"servee.wysiwyg.middleware.WysiwygMiddleware",
"servee.toolbar.middleware.ToolbarMiddleware",

Also Add this setting to settings.py
SRV_WYSIWYG_EDITOR = 'tinymce'


Now change your templates on pages you wish to edit to add frontend admin:

[http://github.com/bartTC/django-frontendadmin]
{'fraction_non_alphanumeric': 0.10222752585521082, 'fraction_numerical': 0.0, 'mean_word_length': 3.799618320610687, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1612860', 'n_tokens_mistral': 870, 'n_tokens_neox': 839, 'n_words': 226}