Discussion:
Places to put the static site generator axe
Paulo Henrique de Lima Santana
2016-10-19 15:17:07 UTC
Permalink
Hi,

I hope be in the right place :-)

I'm planning to package a Static Site Generator called "axe" (I will have to change this name) done in PHP.
I woudl like to have help to check If I'm doing in the right way.

The software uses this directory structure:
.../blog/axe/
.../blog/axethemes/
.../blog/axepreview/
.../blog/links/
.../blog/YYYY/MM/

I read the Webapps Policy Manual and I understood It should be placed in /usr/share/axe/
So,
/usr/share/axe/axe/
/usr/share/axe/axethemes/
/usr/share/axe/axepreview/
/usr/share/axe/links/
/usr/share/axe/YYYY/MM/


There is a config file in:
/usr/share/axe/axe/axe_config.php
that I will have to move to /etc/axe
I'm note sure what I will have to do on the sofwtare to use axe_config.php on this new place (/etc/axe).

html files will stay in /usr/share/axe/YYYY/MM
can this directory with html files be maintained in /usr/share/axe ?

Best regards,
--
Paulo Henrique de Lima Santana (phls)
Membro da Comunidade Curitiba Livre
Fone: +55 (41) 9198-1897
Site: http://www.phls.com.br
GNU/Linux user: 228719 GPG ID: 0443C450

Apoie a campanha pela igualdade de gĂȘnero #HeForShe (#ElesPorElas)
http://www.heforshe.org/pt
Marcos H. Alano
2016-10-19 15:29:16 UTC
Permalink
Did you studied how jekyll and other static site generators work on Debian ? I think is the same principle here.
Post by Paulo Henrique de Lima Santana
Hi,
I hope be in the right place :-)
I'm planning to package a Static Site Generator called "axe" (I will
have to change this name) done in PHP.
I woudl like to have help to check If I'm doing in the right way.
.../blog/axe/
.../blog/axethemes/
.../blog/axepreview/
.../blog/links/
.../blog/YYYY/MM/
I read the Webapps Policy Manual and I understood It should be placed in /usr/share/axe/
So,
/usr/share/axe/axe/
/usr/share/axe/axethemes/
/usr/share/axe/axepreview/
/usr/share/axe/links/
/usr/share/axe/YYYY/MM/
/usr/share/axe/axe/axe_config.php
that I will have to move to /etc/axe
I'm note sure what I will have to do on the sofwtare to use
axe_config.php on this new place (/etc/axe).
html files will stay in /usr/share/axe/YYYY/MM
can this directory with html files be maintained in /usr/share/axe ?
Best regards,
--
Sent with <a href="https://play.google.com/store/apps/details?id=com.onegravity.k10.pro2"><b>K-@ Mail</b></a> - the evolution of emailing.
Loading...