You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trémeur 72202acc41 | 7 months ago | |
---|---|---|
build | 7 months ago | |
.gitignore | 9 months ago | |
README.org | 8 months ago | |
UNLICENSE | 9 months ago | |
backlog.py | 9 months ago | |
cardstring.py | 9 months ago | |
demo.org | 10 months ago | |
gamesort.py | 9 months ago | |
generate.py | 9 months ago | |
history.py | 7 months ago | |
init.py | 9 months ago | |
library.py | 10 months ago | |
skeleton.py | 8 months ago | |
sublibrary.py | 10 months ago | |
variables-template.py | 9 months ago |
README.org
Trackers
Dependencies
python3
orgparse
(install via pip)rclone
(for syncing to the server)
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
Rename variables-template.py
to variables.py
and edit:
endlessgames
: a list of “endless” games in the formattitle (console)
orgpath
: absolute path to the root directory in which.org
files are stored, including trailing slashlocalpath
: absolute path to this directory, including trailing slashserverpath
: path to directory on the server where files will be uploaded, including trailing slashdomain
:https://yourdomain.tld
without trailing slashrclonesiteroot
: pathrclone
uses to access your webserverdescription
: content for the “about” section (can include HTML tags)startyear
: year from which to begin tracking (an integer)hue
: 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)
The rest
- Run
python3 init.py
and thenchmod +x build.sh
. - Create the directory on the server.
Generating the files
- Run
python3 generate.py local
to build in the localbuild
directory. - Run
./build.sh
to build and upload to the server.