annotate README @ 463:4ec689699207

frontpage: use example repo from mercurial-scm.org The rendered result looks like this: """ $ hg clone https://www.mercurial- scm.org/repo/hello """ (It will be copied without any word breaks, the break is only visual.) The actual repo doesn't exist yet, but really should already, because the first thing new users will see when they try the old URL with 3.9-rc+ is a lengthy error message that Mercurial "could not negotiate a common security protocol (tls1.1+) with selenic.com..." Classy.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 22 Jul 2016 18:46:43 +0800
parents 9681da59a95b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
253
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
1 -*- markdown -*-
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
2
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
3 hg-website
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
4 ==========
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
5
412
9681da59a95b Wrap lines
Martin Geisler <martin@geisler.net>
parents: 411
diff changeset
6 This is the Mercurial website. It uses the microframework flask to
9681da59a95b Wrap lines
Martin Geisler <martin@geisler.net>
parents: 411
diff changeset
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
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
9 Setup
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
10 -----
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
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
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
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
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
16 Usage
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
17 -----
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
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
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
20
411
640c68441419 Fix command to start Flask
Martin Geisler <martin@geisler.net>
parents: 410
diff changeset
21 python hgwebsite.py
253
fcf6b1564285 Add a simple README.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
22
412
9681da59a95b Wrap lines
Martin Geisler <martin@geisler.net>
parents: 411
diff changeset
23 You can then visit [http://localhost:5000](http://localhost:5000) to
9681da59a95b Wrap lines
Martin Geisler <martin@geisler.net>
parents: 411
diff changeset
24 view the site.