OLD | NEW |
1 # CMS # | 1 # CMS # |
2 | 2 |
3 We use this CMS for [adblockplus.org](https://github.com/adblockplus/web.adblock
plus.org/) | 3 We use this CMS for [adblockplus.org](https://github.com/adblockplus/web.adblock
plus.org/) |
4 and related websites. It converts a directory with content data into static | 4 and related websites. It converts a directory with content data into static |
5 files. You are free to use it for other projects but please keep in mind that we | 5 files. You are free to use it for other projects but please keep in mind that we |
6 make no stability guarantees whatsoever and might change functionality any time. | 6 make no stability guarantees whatsoever and might change functionality any time. |
7 | 7 |
8 ## Getting started ## | 8 ## Getting started ## |
9 | 9 |
10 The easiest way to get started is to run a test server. The test server will | 10 The easiest way to get started is to run a test server. The test server will |
11 convert your content directory on the fly, your changes will become visible | 11 convert your content directory on the fly, your changes will become visible |
12 immediately. To run it you need: | 12 immediately. To run it you need: |
13 | 13 |
14 * Python 2.7 | 14 * Python 2.7 |
15 * [Jinja2](http://jinja.pocoo.org/) and | 15 * The modules listed in `requirements.txt` (can be installed by running |
16 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by | 16 `pip install -r requirements.txt` from the command line). |
17 running `easy_install Jinja2 Markdown` from the command line) | |
18 * A current copy of the | 17 * A current copy of the |
19 [cms repository](https://github.com/adblockplus/cms/) (can be | 18 [cms repository](https://github.com/adblockplus/cms/) (can be |
20 [downloaded as ZIP file](https://github.com/adblockplus/cms/archive/master.zip
) | 19 [downloaded as ZIP file](https://github.com/adblockplus/cms/archive/master.zip
) |
21 or cloned via `git clone https://github.com/adblockplus/cms.git`) | 20 or cloned via `git clone https://github.com/adblockplus/cms.git`) |
22 | 21 |
23 Optionally, the [Werkzeug](http://werkzeug.pocoo.org/) module can be installed | 22 Optionally, the [Werkzeug](http://werkzeug.pocoo.org/) module can be installed |
24 as well, this will provide some developer features. | 23 as well, this will provide some developer features. |
25 | 24 |
26 Run the `runserver.py` script from your content directory, e.g.: | 25 Run the `runserver.py` script from your content directory, e.g.: |
27 | 26 |
(...skipping 20 matching lines...) Expand all Loading... |
48 - [Custom Jinja2 filters (`filters`)](docs/content/filters.md) | 47 - [Custom Jinja2 filters (`filters`)](docs/content/filters.md) |
49 - [Localization files (`locales`)](docs/content/locales.md) | 48 - [Localization files (`locales`)](docs/content/locales.md) |
50 - [Page layout templates (`templates`)](docs/content/templates.md) | 49 - [Page layout templates (`templates`)](docs/content/templates.md) |
51 - [Various include files (`includes`)](docs/content/includes.md) | 50 - [Various include files (`includes`)](docs/content/includes.md) |
52 - [User-visible pages (`pages`)](docs/content/pages.md) | 51 - [User-visible pages (`pages`)](docs/content/pages.md) |
53 - [Static content (`static`)](docs/content/static.md) | 52 - [Static content (`static`)](docs/content/static.md) |
54 - API | 53 - API |
55 - [Variables](docs/api/variables.md) | 54 - [Variables](docs/api/variables.md) |
56 - [Custom filters](docs/api/filters.md) | 55 - [Custom filters](docs/api/filters.md) |
57 - [Global functions](docs/api/functions.md) | 56 - [Global functions](docs/api/functions.md) |
OLD | NEW |