gemhltv/readme.md

38 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2021-04-07 00:24:57 +00:00
# gemhltv
2021-04-07 01:13:45 +00:00
![the gemhltv match page](matches.png) ![the gemhltv news page](news.png)
2021-04-07 01:13:56 +00:00
2021-04-06 19:40:04 +00:00
a gemini mirror of hltv.org
2021-04-06 19:41:11 +00:00
## requirements
2021-04-06 19:40:04 +00:00
- python3
2021-04-07 01:23:26 +00:00
- pytz
2021-04-06 19:40:04 +00:00
- php
- an instance of reader.php somewhere
2021-04-06 19:41:11 +00:00
## setup
2021-04-06 19:40:04 +00:00
- clone this repo
- cd to this repo
2021-04-07 01:23:26 +00:00
- `pip3 install pytz`
2021-04-07 04:02:26 +00:00
- put all the scripts in your cgi-bin
- put the logos folder in `/var/gemini-data`
## config
- change `LOGO_FILE` at the top of all the scripts if the logos folder is
somewhere other than `/var/gemini-data/logos`
- change `CGI_BIN` at the top of `gemhltv` if the scripts are
somewhere other than `/var/gemini/cgi-bin`
- change `READER_LINK` at the top of gemhltv\_news to point to your
instance of reader.php
2021-04-07 01:23:26 +00:00
- change the current\_tz at the top of the gemhltv\_matches file to match
yours
- a list of valid timezones is available [here](https://gist.githubusercontent.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568/raw/daacf0e4496ccc60a36e493f0252b7988bceb143/pytz-time-zones.py)
2021-04-07 04:02:26 +00:00
- you can edit the files in the `logos` folder to change the logos displayed at
the top of each page/section
2021-04-06 19:40:04 +00:00
2021-04-06 19:41:11 +00:00
## notes
2021-04-06 19:40:04 +00:00
- rip c9
(c) oneseveneight/sose