https://hackmeeting.org/hackit20/
ginox@autistici.org dbd9190087 Merge branch 'master' of https://git.lattuga.net/avana/sito-hackit-20 into master | преди 4 години | |
---|---|---|
content | преди 4 години | |
plugins | преди 4 години | |
talks | преди 4 години | |
themes | преди 4 години | |
.agignore | преди 4 години | |
.gitignore | преди 4 години | |
Makefile | преди 4 години | |
README.md | преди 4 години | |
new-year.md | преди 4 години | |
pelicanconf.py | преди 4 години | |
publishconf.py | преди 4 години | |
pyproject.toml | преди 4 години | |
requirements.txt | преди 4 години |
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.