forked from boyska/sito-hackit-19
Sito hackmeeting 2019
- Python 43.5%
- HTML 27.4%
- CSS 25.1%
- Makefile 4%
|
|
||
|---|---|---|
| content | ||
| output | ||
| plugins | ||
| talks | ||
| themes/hackit0x16 | ||
| .agignore | ||
| .gitignore | ||
| Makefile | ||
| new-year.md | ||
| pelicanconf.py | ||
| publishconf.py | ||
| README.md | ||
| requirements.txt | ||
Hackmeeting 2019
Sources for Italian Hackmeeting 0x16 (2019) website.
HowTo
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
Aggiungere un talk
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!
Hacking
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.