guessi / docker-yourls

Dockerize YOURLS service (Shorten URL Service)
https://hub.docker.com/r/guessi/docker-yourls/
27 stars 16 forks source link

add theme and Plugins #1

Closed Happyfeet01 closed 4 months ago

Happyfeet01 commented 2 years ago

Hi,

How can i add custom themes and Plugins?

Is this in conf/opt/yourls/

Currently i have only an white Page. The Admin Backend works.

guessi commented 2 years ago

@Happyfeet01 I would recommend you the have a look at the theme section under the awesome-yourls project to find the theme that most suitable for you.

Further, I just made a sample Dockerfile for you as example that you may find it here.

Please let me know if there's anything unclear.

image

giulio-perosino commented 7 months ago

I'm having the same problem when activating the plugin. I think the problem is the location of the frontend folder that is extracted in the wrong directory (not the root of the yourls installation).

https://github.com/guessi/docker-yourls/blob/b0a8c68229e602a0bf0b1a53fdb0179a6cef4c72/Dockerfile#L107

guessi commented 7 months ago

@giulio-perosino thanks for feedback, I will check later once I back to my laptop.

guessi commented 6 months ago

Hi,

I just checked with current latest guessi/docker-yourls:1.9.2-theme but I'm not able to reproduce the issue on my side.

Could you please confirm you are working with guessi/docker-yourls:1.9.2-theme ?

image
guessi commented 6 months ago

Also tried to switch Dark/Light Mode, it looks good to me.

Dark Mode

image

Light Mode

image
rursache commented 6 months ago

https://github.com/guessi/docker-yourls/pull/12 provides details on this

guessi commented 6 months ago

Thanks... now I know what the "White/blank page" is talking about.

I believe all details have been mentioned at upstream documentation

and the discussion here

I also updated the FAQ section to address this common question