OLD | NEW |
1 # Running the test server # | 1 # Running the test server # |
2 | 2 |
3 The test server will convert your content directory on the fly, your changes | 3 The test server will convert your content directory on the fly, your changes |
4 will become visible immediately. To run it you need: | 4 will become visible immediately. To run it you need: |
5 | 5 |
6 * Python 2.7 | 6 * Python 2.7 |
7 * [Jinja2](http://jinja.pocoo.org/) and | 7 * [Jinja2](http://jinja.pocoo.org/) and |
8 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by | 8 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by |
9 running `easy_install Jinja2 Markdown` from the command line) | 9 running `easy_install Jinja2 Markdown` from the command line) |
10 * A current copy of the | 10 * A current copy of the |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 Alternatively, the content directory could also be specified as command line | 22 Alternatively, the content directory could also be specified as command line |
23 parameter of `runserver.py`. This will start a local web server on port 5000, | 23 parameter of `runserver.py`. This will start a local web server on port 5000, |
24 e.g. the page the page `pages/example.md` will be accessible under | 24 e.g. the page the page `pages/example.md` will be accessible under |
25 `http://localhost:5000/en/example`. | 25 `http://localhost:5000/en/example`. |
26 | 26 |
27 Note that the test server is inefficient and shouldn't be run in production. | 27 Note that the test server is inefficient and shouldn't be run in production. |
28 There you should generate static files as explained in the next guide, | 28 There you should generate static files as explained in the next guide, |
29 [Generating Static Files](generate-static-files.md). | 29 [Generating Static Files](generate-static-files.md). |
30 | 30 |
| 31 ----- |
31 Prev: [Home](../../README.md) | Up: [Home](../../README.md) | Next: [Generating
the standalone test server](standalone-test-server.md) | 32 Prev: [Home](../../README.md) | Up: [Home](../../README.md) | Next: [Generating
the standalone test server](standalone-test-server.md) |
OLD | NEW |