Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 44 lines (30 sloc) 1.372 kB
30da4a6 @jhannah "How to publish" corrections. As far as I know, I'm the only person t…
jhannah authored
1 Version control: https://github.com/perlorg/www.pm.org/
2 pm.org Admin wiki: http://jays.net/wiki/Perl_Mongers_Administration
c95990b Initial revision
leon authored
3
4 Directory layout is as follows:
5
6 bin/
7 contains programs to build the site etc.
8 lib/
9 contains Template Toolkit templates
10 src/
11 contains the actual text of the site
9e8ecb1 use www instead of html
leon authored
12 www/
13 the output goes here
c95990b Initial revision
leon authored
14
30da4a6 @jhannah "How to publish" corrections. As far as I know, I'm the only person t…
jhannah authored
15 To build the site, run "bin/xml" from this directory.
c95990b Initial revision
leon authored
16
17 What this does is it takes the source files from src/ applies any
9e8ecb1 use www instead of html
leon authored
18 templates to them (from lib/), and writes the output to the www/
19 directory. Now have a look at the www directory - it contains the
c95990b Initial revision
leon authored
20 site!
21
22 lib/layout is the template which is applied to every page.
23
30da4a6 @jhannah "How to publish" corrections. As far as I know, I'm the only person t…
jhannah authored
24 -----------------------------------
25 ADMINISTRATOR NOTE:
d0863ff @jhannah This width wraps better on github.
jhannah authored
26 If you're a www.pm.org admin, then your local www directory is a symlink into a
27 WebDAV mount of https://groups.pm.org/admin/. For example, in OS X:
30da4a6 @jhannah "How to publish" corrections. As far as I know, I'm the only person t…
jhannah authored
28
29 ln -s /Volumes/admin/groups/www www
30
d0863ff @jhannah This width wraps better on github.
jhannah authored
31 At that point, when you run "bin/xml" you're publishing the output directly to
32 www.pm.org.
30da4a6 @jhannah "How to publish" corrections. As far as I know, I'm the only person t…
jhannah authored
33 -----------------------------------
34
c95990b Initial revision
leon authored
35 Note: whenever you refer to a page on our site inside a template,
36 please use the following mechanism, which changes the link to a
37 relative one so that we can build the site anywhere we want:
38
39 See [% link_to("foo.html", "the best foo") %].
40
ee072fc some further improvement in the coordinates
gabor authored
41 Coordinate converter: http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
8285a1f README update
gabor authored
42
43
Something went wrong with that request. Please try again.