pppindex/README.md

53 lines
1.3 KiB
Markdown
Raw Normal View History

2021-12-10 11:25:38 +01:00
__pppadindex__
Generates templated publications based on [pppadump](https://git.le-club-des-sans-sujets.org/Le-Club-des-Sans-Sujets/pppadump)
__requirements__
2021-12-10 13:40:42 +01:00
* python3 / pip3 / python3-venv
2021-12-10 11:25:38 +01:00
__installation__
2021-12-10 13:40:42 +01:00
Recusively clone pppindex and pppadump:
$> git clone --recursive https://git.le-club-des-sans-sujets.org/Le-Club-des-Sans-Sujets/pppindex.git
Then set environment:
2021-12-10 11:25:38 +01:00
$> . setenv
The program will check your python3 environment and interactively asks some questions (if need is):
venv DOES NOT exists...
Setup venv? [y/N]> y
Creating python3 venv
Done.
The program will also check wether pppadum is install or not and interactively asks some questions (if need is):
pppadump IS NOT installed
pip install pppadump? [y/N]> y
Pip installing pppadump
Done.
When the environment is set, initialise the project with:
$> make init
The program then interactively asks some questions:
Please type the URL of the etherpad:
http://automatist.local:9001/
2022-08-12 13:23:44 +02:00
Please type the URL of the index to be generated (i.e. should differ from padurl):
http://automatist.local:9001/index
2021-12-10 11:25:38 +01:00
The APIKEY is the contents of the file APIKEY.txt in the etherpad folder
Please paste the APIKEY:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
__usage__
$> . setenv
$> make pull
$> make index
2021-12-05 14:20:52 +00:00