Mercurial > hg-website
annotate README @ 417:4c185817cc45
Describe the canonical way to track folders: .keep files.
author | drak@kaverne |
---|---|
date | Thu, 18 Sep 2014 10:56:45 +0200 |
parents | 9681da59a95b |
children |
rev | line source |
---|---|
253 | 1 -*- markdown -*- |
2 | |
3 hg-website | |
4 ========== | |
5 | |
412 | 6 This is the Mercurial website. It uses the microframework flask to |
7 serve jinja2 templates. | |
346
dfc40e532bb6
Add a section about various subrepos of hg-website
David Soria Parra <dsp@php.net>
parents:
254
diff
changeset
|
8 |
253 | 9 Setup |
10 ----- | |
11 | |
397
29d4b5e45423
Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents:
346
diff
changeset
|
12 To use this version of hg-website you need to install flask. |
253 | 13 |
410
c838aca30aea
Fix typo in pip install command
Martin Geisler <martin@geisler.net>
parents:
397
diff
changeset
|
14 pip install flask |
254
d662cba2afb1
Add markdown to the README.
Steve Losh <steve@stevelosh.com>
parents:
253
diff
changeset
|
15 |
253 | 16 Usage |
17 ----- | |
18 | |
397
29d4b5e45423
Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents:
346
diff
changeset
|
19 To have flask serve the page, use: |
253 | 20 |
411
640c68441419
Fix command to start Flask
Martin Geisler <martin@geisler.net>
parents:
410
diff
changeset
|
21 python hgwebsite.py |
253 | 22 |
412 | 23 You can then visit [http://localhost:5000](http://localhost:5000) to |
24 view the site. |