-
Notifications
You must be signed in to change notification settings - Fork 4
Source of the Padre web site
PadreIDE/template.padre.perlide.org
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=pod The pages of L<http://padre.perlide.org/> are generated by these scripts and templates. =head1 Developers page 1) add an ini file in the F<data/developers/> directory 2) add the nickname to the developers: section of F<data/stash.yml> =head1 Translators page 1) add an ini file in the F<data/translators/> directory 2) add the nickname to the translators: section of F<data/stash.yml> The idea is that everyone involved (including translators, packagers, testers etc.) adds themselves to the developers page in English. The translators page should be written in the respective languages of the relevant people. =head1 About page The list of blog entries is maintained manually in F<data/stash.yml>. =head1 Build system To setup the environment for building the site perform the following actions: 1) Make sure you have the latest sources by choosing "SVN Update" on the root folder 2) Open a command prompt Start-->Run-->CMD-->"Enter" To install the parent, Template tooklkit run "cpan parent Template Text::Unaccent::PurePerl autodie IPC::System::Simple" (On the current server we use the 'system-perl' and only install modules using aptitude. as Text::Unaccent::PurePerl is not available for this Ubuntu system, we have included a copy of the .pm file in the lib/ directory) Use the default settings (when asked questions like about XS just press "Enter") 2) When the above is finished run the follwing "cpan Path::Class" 3) When the above is finished run the follwing "cpan YAML::Tiny" * The environment is now ready The site is generated by running (run the following from the root folder \template.padre.perlide.org in the root of your source code, e.g."D:\Padre\template.padre.perlide.org") perl Makefile.PL make manifest perl build_site.pl --sourcedir . --destdir ~/public_html/padre.perlide.org ** Explanation of the above comand: ** "perl build_site.pl" means run the script called build_site.pl using perl in order to generate the site's pages bassed on templates and so on. ** "--sourcedir ." means that the source code to use during building the site will be taken from the directory from which you are running the perl command. ** "--destdir ~/public_html/padre.perlide.org" means that the destination folder to which the site's pages to bu generated will be the path you entered. ./Build ./Build test ./Build install ./Build realclean =head1 Explanation of directories documentroot/ contains static files tt/ contains the Template Toolkit templates resources/ contains source files that are used to manually generate some of the files in the documentroot/ directory. <!-- <g:plusone size="medium" href="http://padre.perlide.org/"> </g:plusone> <div id="fb-root"></div> <iframe src="http://www.facebook.com/plugins/like.php?href=http://padre.perlide.org/" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe> --> [% WRAPPER chrome/styled_panel %] <div class="footer"> <p> <!-- Place this tag in the <head> of your document --> <link href="https://plus.google.com/113080817271349015915" rel="publisher" /><script type="text/javascript"> (function() {var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })();</script> </p> <!-- Place this tag where you want the badge to render --> <g:plus href="https://plus.google.com/113080817271349015915" size="badge"></g:plus> </div> [% END %] [% WRAPPER chrome/styled_panel %] <div class="footer"> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=114316341996389"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-href="http://www.facebook.com/PerlIDE" data-send="true" data-width="450" data-show-faces="true"></div> </div> [% END %]
About
Source of the Padre web site
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published