README.md 858 Bytes
Newer Older
Andre Miranda's avatar
Andre Miranda committed
1 2
Scrapes all Xfce bug reports into static html files and their respective attachments.

Andre Miranda's avatar
Andre Miranda committed
3
### Fetching bugs
Andre Miranda's avatar
Andre Miranda committed
4 5
- Review bug and attachment max ID
- Review bugs and attachments blacklist
6
- Review message in `HEADER` of `dump.py`, `list.py` and `static/index.html` (specially the migration date)
Andre Miranda's avatar
Andre Miranda committed
7
- `pip install -r requirements.txt`
Andre Miranda's avatar
Andre Miranda committed
8 9 10 11 12
- `PYTHONUNBUFFERED=x python dump.py | tee log` # Takes about two hours
- `python list.py` # Should run in one minute or so
- Optional
  - Install minify: `yay -S minify-bin` or `sudo apt install minify`
  - `mkdir -p lists2 && minify lists -o lists2 && rm -r lists && mv lists2 lists`
Andre Miranda's avatar
Andre Miranda committed
13

Andre Miranda's avatar
Andre Miranda committed
14 15 16 17 18
### Serving
- Development
  - `python app.py`
- Production
  - `docker-compose up`
Andre Miranda's avatar
Andre Miranda committed
19
  - If nginx is used as reserve proxy, consider `sed -i 's/"5000:5000"/"127.0.0.1:5000:5000"/' docker-compose.yml`
Andre Miranda's avatar
Andre Miranda committed
20

Andre Miranda's avatar
Andre Miranda committed
21 22
### Screenshot

23
https://i.imgur.com/l8C8EXw.png