• 5 Posts
  • 19 Comments
Joined 5 years ago
cake
Cake day: June 10th, 2020

help-circle
  • I want to map the /app/dist/assets/css/themes directory in the container to the host lemmy directory. Thereby, the theme file in the container can be modified on the host machine. Added the following code in docker-compose.yml:

     volumes:
       - ./volumes/lemmy-ui:/app/dist/assets/css/themes
    

    After running the instance, no files appear in the host lemmy/volumes/lemmy-ui directory.

    So, what should I do to map the /app/dist/assets/css/themes directory in the container to the host lemmy directory? ? ?



  • aihaoOPtoLemmy SupportHow to edit theme style in docker?
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 years ago

    I change the database name to lemmyok in docker-compose.yml and lemmy.hjson, and use the command “docker-compose exec postgres psql -U lemmyok” and get " psql: error: FATAL: role “lemmyok” does not exist ",can’t enter PG.

    If I use the command docker-compose exec postgres psql -U lemmy without changing the database name, I can enter PG normally.

    Am I doing something wrong?

    What should be the correct solution?







  • i installed Lemmy with Docker, And the site is normal. The documentation says " save your theme file to ./volumes/lemmy-ui/extra_themes.”

    I didn’t find this “. /volumes/lemmy-ui/extra_themes”, there are only these three files volumes, docker-compose.yml, lemmy.hjson in /lemmy/.









  • https://zh.m.wikipedia.org/wiki/生肖

    第二张图仅仅是十二生肖中的牛(就是说拥有这个硬币的人是属牛的)。和中华人民共和国没有任何关系。 The second picture is only the cow in the Zodiac (that is, the person who owns this coin belongs to the cow). It has nothing to do with the People’s Republic of China.

    你说这个是你妈妈送你的礼物,我想是你妈妈送你的幸运符,是保护你的,是你妈妈希望你一生健康,快乐,开心。。。等等。也就是你妈妈对你的爱! You said that this is a gift from your mother. I think it is a lucky charm from your mother. It protects you. It is your mother who wants you to be healthy, happy and happy throughout your life. . . and many more. That is your mother’s love for you!

    很高兴能帮你。Glad to help you.


  • 这个对我个人来说仅仅是民间的玩物,没有什么意义。但对某些人来说也许是记念品,护身符。因人而异。因为每个人的喜好不同,有些人信神信佛,有些人则是无神论者。 This is just a folk plaything for me personally, and it has no meaning. But for some people it may be a souvenir, amulet. It varies from person to person. Because everyone’s preferences are different, some people believe in God and Buddha, and some people are atheists.

    你说的多少岁,我无法回答你,但可能是上图划线的年份出生的。 I can’t answer you how old you said, but it may be born in the year underlined in the picture above.


  • 下图是古代人用来记时的,也就是现代人所说的钟表。

    The picture below is what ancient people used to keep time, which is what modern people call a clock.

    参考下图,牛年出生的人可能是1901,1913,1925,1937,1949,1961,1973 ……

    如果你知道他(她)的出生年份你就可以知道他们的属相(十二生肖) Refer to the picture below, people born in the year of the ox may be 1901, 1913, 1925, 1937, 1949, 1961, 1973…

    If you know his (her) birth year, you can know their zodiac signs (Chinese Zodiac)



  • 子(zǐ)、丑(chǒu)、寅(yín)、卯(mǎo)、辰(chén)、巳(sì)、午(wǔ)、未(wèi)、申(shēn)、酉(yǒu)、戌(xū)、亥(hài)

    上面这12个汉字是中国古代用来表示时间的。十二时辰,也就是24小时。一个字相当于现在两个小时。

    圆形是 太极八卦图

    第二图 牛 nu 指的是十二生肖中的牛。

    这并不是货币,相当于游戏币,艺术品。我猜是信佛信神的人才会需要。

    The 12 Chinese characters above were used to express time in ancient China. Twelve o’clock, which is 24 hours. One word is equivalent to two hours now.

    The circle is the Tai Chi Bagua diagram

    In the second picture, ox nu refers to the ox in the Chinese zodiac.

    This is not currency, it is equivalent to game currency, artwork. I guess people who believe in Buddha and God will need it.

    补充一下:2021年在中国是牛年。 To add: 2021 is the Year of the Ox in China.