Compare commits
2 Commits
23e07c376a
...
19e3093f3b
Author | SHA1 | Date | |
---|---|---|---|
19e3093f3b | |||
461a8587ad |
@ -35,8 +35,8 @@ The CGI program is still invoked in static generation. The files `allmaps.py`, `
|
|||||||
|
|
||||||
Before executing `allmaps.py`, copy and modify the templates.
|
Before executing `allmaps.py`, copy and modify the templates.
|
||||||
|
|
||||||
cp ./templates/overview.html ./overview.html
|
cp ./templates/overview.html .
|
||||||
cp ./templates/map.html ./map.html
|
cp ./templates/map.html .
|
||||||
|
|
||||||
`allmaps.py` outputs an html file for all distinct maps in the database. The leaderboards for each map (equivalent to `?map=[map name]`) are in `output/maps/`.
|
`allmaps.py` outputs an html file for all distinct maps in the database. The leaderboards for each map (equivalent to `?map=[map name]`) are in `output/maps/`.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ def main():
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
success = False
|
success = False
|
||||||
try:
|
try:
|
||||||
main()
|
success = main()
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")
|
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")
|
||||||
|
Loading…
Reference in New Issue
Block a user