|
10 months ago | |
---|---|---|
gamebuild | 10 months ago | |
placebuild | 10 months ago | |
.gitignore | 10 months ago | |
README.org | 10 months ago | |
UNLICENSE | 1 year ago | |
backlog.py | 10 months ago | |
cardstring.py | 10 months ago | |
demo.org | 10 months ago | |
gameskel.py | 10 months ago | |
gamesort.py | 10 months ago | |
generategames.py | 10 months ago | |
generateplaces.py | 10 months ago | |
history.py | 10 months ago | |
init.py | 10 months ago | |
library.py | 10 months ago | |
sublibrary.py | 10 months ago | |
variables-template.py | 10 months ago |
README.org
Trackers
- Dependencies
- General setup
- Tracking games with a backloggery clone
- Tracking places visited using Leaflet
- First run (or if adding any new trackers)
- Building
General setup
Setting the variables
Rename variables-template.py
to variables.py
and edit:
orgpath
: absolute path to the root directory in which.org
files are stored, including trailing slashlocalpath
: absolute path to this directory, including trailing slashdomain
:https://yourdomain.tld
without trailing slashrclonesiteroot
: pathrclone
uses to access your webserver
Tracking games with a backloggery clone
Setup
Fonts
Upload the fonts Lato, Titillium Web, and Material Icons to the directory /fonts
on your server (I recommend google-webfonts-helper). Check the filenames are consistent with those in build/backloggery.css
. Alternatively, you can load the fonts remotely and adjust the page head HTML generated by skeleton.py
.
Setting the variables
In variables.py
, edit:
trackgames
: set toTrue
gameserverpath
: path to directory on the server where files will be uploaded, including trailing slashendlessgames
: a list of “endless” games in the formattitle (console)
description
: content for the “about” section (can include HTML tags)gamestartyear
: year from which to begin tracking (an integer)gamehue
: theme colour expressed as a hue from 0 to 360consoles
: add or remove consoles following the format provided (.png
images must be added to the build directory with a filename corresponding with the value of"img"
for each console)