https://hackmeeting.org/hackit20/
boyska 303c41b7cf spottino subvertising | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
content | %!s(int64=4) %!d(string=hai) anos | |
plugins | %!s(int64=4) %!d(string=hai) anos | |
talks | %!s(int64=4) %!d(string=hai) anos | |
themes | %!s(int64=4) %!d(string=hai) anos | |
.agignore | %!s(int64=4) %!d(string=hai) anos | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
Makefile | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
new-year.md | %!s(int64=4) %!d(string=hai) anos | |
pelicanconf.py | %!s(int64=4) %!d(string=hai) anos | |
publishconf.py | %!s(int64=4) %!d(string=hai) anos | |
requirements.txt | %!s(int64=4) %!d(string=hai) anos |
Sources for Italian Hackmeeting 0x17 (2020) 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.