unmojang / drasl

Yggdrasil-compatible API server for Minecraft
GNU General Public License v3.0
69 stars 11 forks source link

[Doc] Data and State directories #51

Closed Proxwian closed 3 months ago

Proxwian commented 3 months ago

I am new into go web development, and not properly know how to change directories, but I've tried set them how it described in docs, like this:

StateDirectory = "/srv/drasl"
DataDirectory = "/srv/drasl/data"

and nothing worked. Also it didn't really looks like StateDirectory and DataDirectory is really located at default values folders "/var/lib/drasl/" and "/usr/share/drasl".

Proxwian commented 3 months ago

Also can I somehow mount directory with .tmpl files to modify them in folder rather than in docker container?

Proxwian commented 3 months ago

Nvm, I figured it out