Skip to content
Snippets Groups Projects
Verified Commit fffa6ffb authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Ajout d'Abiword, pour les imports/export PDF

parent 4c434084
No related branches found
No related tags found
1 merge request!29Améliorations diverses d'Etherpad
......@@ -36,8 +36,10 @@ RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.
npm install \
ep_align \
ep_author_hover \
ep_better_pdf_export \
ep_chatdate \
ep_comments_page \
ep_countable \
ep_delete_empty_pads \
ep_font_color \
ep_font_family \
......@@ -67,7 +69,7 @@ FROM base
COPY entrypoint.sh /opt/etherpad-lite/entrypoint.sh
RUN apt-get update && \
apt-get install -y mysql-client && \
apt-get install -y mysql-client abiword && \
chmod +x /opt/etherpad-lite/entrypoint.sh && \
mkdir -p /opt/etherpad-lite && \
chown -R node /opt/etherpad-lite && \
......
......@@ -51,9 +51,6 @@ Prenez des notes et rédigez des documents librement !\n\n \
Pensez à garder l'URL de votre pad pour le retrouver. Attention, celui-ci est public, c'est-à-dire que toute personne possédant l'URL pourra y accéder :\
n'y stockez pas d'informations confidentielles !"}
# Print table of content by default
: ${ETHERPAD_TOC:=false}
# Check if database already exists
RESULT=`mysql -u${ETHERPAD_DB_USER} -p${ETHERPAD_DB_PASSWORD} \
-h${MYSQL_PORT_3306_TCP_ADDR} --skip-column-names \
......@@ -83,7 +80,7 @@ cat <<- EOF > /opt/etherpad-lite/settings.json
"minify": ${ETHERPAD_MINIFY},
"skinName": "${ETHERPAD_THEME}",
"defaultPadText": "${ETHERPAD_DEFAULT_TEXT}",
"ep_toc": ${ETHERPAD_TOC},
"abiword" : "/usr/bin/abiword",
EOF
if [ $ETHERPAD_ADMIN_PASSWORD ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment