Enable SeedDMS support for fulltext indexing and PDF previews
This commit is contained in:
parent
6b0d1f111c
commit
224546c12f
@ -28,6 +28,7 @@ export SEEDDMS_ADMIN_EMAIL=admin@example.com
|
|||||||
envsubst <${SOURCE_DIR}/seeddms/tmp/seeddms-adminpwd.sql >/tmp/seeddms-adminpwd.sql
|
envsubst <${SOURCE_DIR}/seeddms/tmp/seeddms-adminpwd.sql >/tmp/seeddms-adminpwd.sql
|
||||||
psql -f /tmp/seeddms-adminpwd.sql seeddms seeddms
|
psql -f /tmp/seeddms-adminpwd.sql seeddms seeddms
|
||||||
unset PGPASSWORD
|
unset PGPASSWORD
|
||||||
|
rm -f /tmp/seeddms-adminpwd.sql
|
||||||
|
|
||||||
# Create OS user
|
# Create OS user
|
||||||
adduser --system --group --home /srv/seeddms --shell /bin/false seeddms
|
adduser --system --group --home /srv/seeddms --shell /bin/false seeddms
|
||||||
@ -44,5 +45,3 @@ systemctl restart nginx
|
|||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
||||||
|
|
||||||
# TODO: Test Lucene fulltext search
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<site>
|
<site>
|
||||||
<display siteName="DMS" footNote="" printDisclaimer="true" language="cs_CZ" theme="bootstrap" previewWidthList="100" previewWidthDetail="200" availablelanguages="" showFullPreview="true" convertToPdf="false"/>
|
<display siteName="DMS" footNote="" printDisclaimer="true" language="cs_CZ" theme="bootstrap" previewWidthList="100" previewWidthDetail="200" availablelanguages="" showFullPreview="true" convertToPdf="true"/>
|
||||||
<edition strictFormCheck="false" viewOnlineFileTypes=".txt;.text;.html;.htm;.xml;.pdf;.gif;.png;.jpg;.jpeg" enableConverting="true" enableEmail="true" enableUsersView="true" enableFullSearch="false" enableFolderTree="true" expandFolderTree="1" enableLanguageSelector="true" stopWordsFile="" sortUsersInList="" sortFoldersDefault="s" editOnlineFileTypes="" enableSessionList="false" enableClipboard="true" enableMenuTasks="true" enableDropUpload="true" enableMultiUpload="true" enableRecursiveCount="false" maxRecursiveCount="0" enableHelp="false" enableThemeSelector="false" maxSizeForFullText="0" fullSearchEngine="lucene" defaultSearchMethod="database" showSingleSearchHit="false" enableDropFolderList="true"/>
|
<edition strictFormCheck="false" viewOnlineFileTypes=".txt;.text;.html;.htm;.xml;.pdf;.gif;.png;.jpg;.jpeg" enableConverting="true" enableEmail="true" enableUsersView="true" enableFullSearch="true" enableFolderTree="true" expandFolderTree="1" enableLanguageSelector="true" stopWordsFile="" sortUsersInList="" sortFoldersDefault="s" editOnlineFileTypes="" enableSessionList="false" enableClipboard="true" enableMenuTasks="true" enableDropUpload="true" enableMultiUpload="true" enableRecursiveCount="false" maxRecursiveCount="0" enableHelp="false" enableThemeSelector="false" maxSizeForFullText="0" fullSearchEngine="lucene" defaultSearchMethod="database" showSingleSearchHit="false" enableDropFolderList="true"/>
|
||||||
<calendar enableCalendar="true" calendarDefaultView="w" firstDayOfWeek="1"/>
|
<calendar enableCalendar="true" calendarDefaultView="w" firstDayOfWeek="1"/>
|
||||||
</site>
|
</site>
|
||||||
<system>
|
<system>
|
||||||
|
Loading…
Reference in New Issue
Block a user