forked from perlorg/www.pm.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
45 lines (31 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Web: http://www.pm.org
Support: [email protected]
Version control: https://github.com/perlorg/www.pm.org/
Admin manual: http://www.pm.org/faq/admin.html
Directory layout is as follows:
bin/ programs to build the site etc.
lib/ Template Toolkit templates
src/ actual text of the site
www/ output goes here
perl_mongers.xml PM group listing data to build corresponding pages from
perl_mongers.dtd definition for perl_mongers.xml format
To build the site, run "bin/xml" and "bin/map.xml.pl".
Your local www directory should simply be a symlink into
a WebDAV mount of https://groups.pm.org/admin/. For example, in OS X:
ln -s /Volumes/admin/groups/www www
At that point, when you run "bin/xml" you're publishing the output directly
to www.pm.org.
What "bin/xml" does is it takes the source files from src/ applies any
templates to them (from lib/), and writes the output to the www/
directory.
lib/layout is the template which is applied to every page.
Note: whenever you refer to a page on our site inside a template,
please use the following mechanism, which changes the link to a
relative one so that we can build the site anywhere we want:
See [% link_to("foo.html", "the best foo") %].
social networks:
<meetup>http://www.meetup.com/The-New-York-Perl-Meetup-Group/</meetup>
<linkedin>http://www.linkedin.com/groups?gid=684</linkedin>
<facebook>http://www.facebook.com/Israeli.Perl.Mongers</facebook>
<googleplus>https://plus.google.com/105209189901369984525</googleplus>
<twitter>https://twitter.com/perlweekly</twitter>