Flomp / wanderer

wanderer is a self-hosted trail database. Save your adventures!
GNU Affero General Public License v3.0
1.11k stars 29 forks source link

Add ability for own branding (logo, site name) #59

Closed anarion80 closed 4 months ago

anarion80 commented 4 months ago

Hello!

It would be great if there was possibility for own branding:

to be used for example for local non-profit tourist organization to showcase their trails.

Flomp commented 4 months ago

Hey there,

Disabling user registration/login is possible by setting the PUBLIC_DISABLE_SIGNUP environment variable to false (see docker-compose.yml).

I currently do not plan to add branding options. You can of course build the wanderer-web image yourself. All logos are stored in /web/src/lib/components/logoas svelte files and you can simply replace the SVG with your own. To find all "wanderer" strings just do a search and replace them however you like.

When you are done simply run this from the project root:

cd web && npm ci --omit=dev && npm run build && cd ..
docker build web/ --no-cache  -t <your-custom-wanderer-image-tag>:latest 

And don't forget to change the docker-compose.yml to use your custom image.

anarion80 commented 4 months ago

Thanks, I got it to work: [REDACTED] You can comment if the attribution is ok/enough and then close.

Flomp commented 4 months ago

That's perfectly fine. Thanks. Happy I could help.