ddnet/ddnet-web

Development documentation?

Opened this issue · 3 comments

Hello there, is there any development documentation?

I would like to check if I can do anything about ddnet website, or other web tools (if they present)
The problem is that I worked only with modern web dev tools. I checked this repo for a 30min, and it does not make any sense to me.

So here is a small question list from me:

  1. (a very small question, sarcasm) How does it work? Which tools does it use?
    This repo is a static part. So there is a dynamic part, right?
  2. Is it possible to run local instance, and how can I do this?

I guess thats all the questions, I just don't have much information about it

edg-l commented

It uses jekyll to generate the content, but not everything is included here so some links may not work.

Even I don't know how the player and map pages are generated so i cant help you there

  1. The "dynamic" part is very loosely in the servers/scripts subdirectory of ddnet/ddnet-scripts. It is really hard to figure out what generates what. It's all in python2 :(

  2. Um while it is technically possible I'm not sure if we ever documented any part of it. One good part is the static site will justwork(tm). I think jekyll is used to generate the news posts

Thanks, now I can check what is jekyll