Kos-M / GogsThemes

An attempt to give some colors to amazing Gogs platform ..
MIT License
83 stars 8 forks source link

Docker installation - theme does not activate #14

Open m-stefanski opened 7 months ago

m-stefanski commented 7 months ago

I have my Gogs instance deployed in Docker using following environment.yaml file:

version: '3'

services:
  gogs:
    image: gogs/gogs
    volumes:
     - /volume1/docker/gogs:/data
    ports:
      - 3000:3000
      - 3022:22

I have followed installation instructions (head.tmpl creation, copying files), but new theme fails to show after docker restart.

I have tried putting "custom" folder in two locations:

/volume1/docker/gogs/custom
/volume1/docker/gogs/gogs/custom

And its structure is as follows:

./custom/public/* # mv and cp results
./custom/templates/inject/head.tmpl

I restart gogs, no new theme is visible.

I feel like I am missing something obvious, or am very bad at reading the instructions. Help please?

Kos-M commented 7 months ago

Hey sorry for late reply , and thanks for your interest in these themes. There is already quickstart with gogs in docker and the theme activated out of the box.

Follow this to use in docker: ( inside a dir in your filesystem)

check localhost:3000 to see installation page with theme activated , cheers ! check docker-compose.yml to understand better how to use it in your setup.

Let me know if it worked.