NON e' il repo giusto, quello giusto e' https://0xacab.org/hackit/sito-hackit-22/
|
1 year ago | |
---|---|---|
content | 1 year ago | |
plugins | 1 year ago | |
talks | 1 year ago | |
themes | 1 year ago | |
.agignore | 1 year ago | |
.gitignore | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
new-year.md | 1 year ago | |
pelicanconf.py | 1 year ago | |
publishconf.py | 1 year ago | |
pyproject.toml | 1 year ago | |
requirements.txt | 1 year ago |
Sources for Italian Hackmeeting 0x19 (2022) website.
So you want to contribute, nice!
mkvirtualenv -p `which python3` hackmeeting-website
pip install -r requirements.txt
make all serve
firefox http://localhost:8000/
Also, make help
is your friend.
Morte ai nemici dell'UTF-8
Se devi debuggare, make DEBUG=1
cp -r talks/_talk_example/ talks/MIOTALK/
vim talks/MIOTALK/meta.yaml
Quindi rifai make html
come spiegato prima: l'output ti informa di eventuali errori nei campi o
sovrapposizioni con altri talk, leggilo!
Il sito è un'istanza di pelican, più alcuni plugin custom: langmenu
, per avere un menu che punta alle versioni
localizzate della pagina; talks
, per gestire i talk in modo speciale.
Il tutto richiede python 2.7, ma prima o poi sarebbe il caso di passare a python 3. Quindi cerca di tenere la compatibilità, se metti mano al codice python.