forked from feincms/feincms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstallation.txt
More file actions
68 lines (51 loc) · 2.78 KB
/
installation.txt
File metadata and controls
68 lines (51 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.. _installation:
=========================
Installation instructions
=========================
Installation
============
This document describes the steps needed to get FeinCMS up and running.
FeinCMS is based on Django, so you need a working Django_ installation
first. I'm developing FeinCMS using a Subversion_ checkout of Django_,
but any version which is at least 1.0 should work currently. If it does
not, this is considered a bug and I'd be happy to hear about it.
You can download a stable release of FeinCMS using ``easy_install``::
$ sudo easy_install feincms
Please note that the package installable with ``easy_install`` only
contains the files needed to run FeinCMS. It does not include documentation,
tests or the example project which comes with the development version,
which you can download using the Git_ version control system::
$ git clone git://github.com/matthiask/feincms.git
In addition, you will need a django-mptt_ installation (The released
version 0.2.1 is incompatible with Django SVN trunk. The django-mptt_
version from SVN is fixed to work with current versions of Django_,
but seems to be unmaintained and has several small bugs. Consider
getting the version from the github repository linked to above.)
Finally, some content types or extensions require recent versions of
lxml_, django-tagging_, feedparser_ and the python imaging library PIL_
(PIL_ is actually a dependency of Django_'s ImageField).
.. _Django: http://www.djangoproject.com/
.. _Git: http://git-scm.com/
.. _Subversion: http://subversion.tigris.org/
.. _django-mptt: http://github.com/matthiask/django-mptt/
.. _django-tagging: http://code.google.com/p/django-tagging/
.. _lxml: http://codespeak.net/lxml/
.. _feedparser: http://www.feedparser.org/
.. _PIL: http://www.pythonware.com/products/pil/
Configuration
=============
There isn't much left to do apart from adding ``feincms`` to ``INSTALLED_APPS``.
The customized administration interface needs some media and javascript
libraries, which you have to make available to the browser. You should
publish the files in the folder ``feincms/media/feincms/`` somewhere on your site
and set the ``FEINCMS_ADMIN_MEDIA`` to the location. You can do this either
by copying the media files into your media folder or by installing a
symlink to the correct place.
Please note that the ``feincms`` module will not create or need any database
tables, but you need to put it into ``INSTALLED_APPS`` because otherwise the
templates in ``feincms/templates/`` will not be found by the template loader.
The tools contained in FeinCMS can be used for many CMS-related
activities. The most common use of a CMS is to manage a hierarchy of
pages and this is the most advanced module of FeinCMS too. Please
proceed to :ref:`page` to find out how you can get the page module
up and running.