Coder Social home page Coder Social logo

Comments (7)

TruthHun avatar TruthHun commented on June 30, 2024

需要点击发布才能看到内容。在保存的右边的那个按钮

from bookstack.

bubbleatgit avatar bubbleatgit commented on June 30, 2024
  1. 使用这个功能的文档,也需要点发布吗?
  2. 我也尝试点过发布,就提示任务将在后台运行。但是前端还是老样子

from bookstack.

TruthHun avatar TruthHun commented on June 30, 2024

我看了你的dockerfile,没安装Chrome。我的dockerfile(下一版本一同发布):

FROM ubuntu:16.04

MAINTAINER "TruthHun <[email protected]>"

# 安装字符编码支持
RUN apt update -y && apt install -y locales && rm -rf /var/lib/apt/lists/* \
    && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8

# 安装中文字体支持
RUN apt update -y && apt install -y fonts-wqy-zenhei fonts-wqy-microhei

# 安装calire和chromium-browser
RUN apt install -y xdg-utils wget xz-utils python chromium-browser \
    && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin

# 将程序拷贝进去
COPY . /www/BookStack/

# 将程序拷贝进去
COPY zoneinfo.zip /usr/local/go/lib/time/

RUN chmod 0777 -R /www/BookStack/

WORKDIR /www/BookStack/

RUN ./BookStack install

CMD [ "./BookStack" ]

from bookstack.

TruthHun avatar TruthHun commented on June 30, 2024

安装下chromium-browser

from bookstack.

bubbleatgit avatar bubbleatgit commented on June 30, 2024

ok,我还以为采集功能才需要chrome呢。感谢大佬!

from bookstack.

bubbleatgit avatar bubbleatgit commented on June 30, 2024

关于Dockerfile,建议 RUN 命令尽量写在同一个里面,这样可以较大程度降低 image 的容量大小。

from bookstack.

bubbleatgit avatar bubbleatgit commented on June 30, 2024

经测试,安装chromium后,可正常显示了

from bookstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.