Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
236ed405
Commit
236ed405
authored
Apr 08, 2019
by
陈精华
Committed by
kl
Apr 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
启动脚本&配置文件
parent
0fb02e3c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
45 deletions
+26
-45
pom.xml
jodconverter-web/pom.xml
+3
-0
.gitkeep
jodconverter-web/src/main/bin/.gitkeep
+0
-0
startup.bat
jodconverter-web/src/main/bin/startup.bat
+2
-0
startup.sh
jodconverter-web/src/main/bin/startup.sh
+3
-0
.gitkeep
jodconverter-web/src/main/conf/.gitkeep
+0
-0
application.properties
jodconverter-web/src/main/conf/application.properties
+18
-3
application-dev.properties
...nverter-web/src/main/resources/application-dev.properties
+0
-17
application-prod.properties
...verter-web/src/main/resources/application-prod.properties
+0
-12
application-uat.properties
...nverter-web/src/main/resources/application-uat.properties
+0
-13
No files found.
jodconverter-web/pom.xml
View file @
236ed405
...
...
@@ -164,6 +164,9 @@
</includes>
<filtering>
true
</filtering>
</resource>
<resource>
<directory>
src/main/conf
</directory>
</resource>
</resources>
<plugins>
<plugin>
...
...
jodconverter-web/src/main/bin/.gitkeep
deleted
100644 → 0
View file @
0fb02e3c
jodconverter-web/src/main/bin/startup.bat
0 → 100644
View file @
236ed405
java -jar jodconverter-web-1.5.8.RELEASE.jar -> ..\\log\\kkFileView.log
\ No newline at end of file
jodconverter-web/src/main/bin/startup.sh
0 → 100644
View file @
236ed405
#!/bin/bash
nohup
java
-jar
jodconverter-web-1.5.8.RELEASE.jar ../log/kkFileView.log 2>&1 &
\ No newline at end of file
jodconverter-web/src/main/conf/.gitkeep
deleted
100644 → 0
View file @
0fb02e3c
jodconverter-web/src/main/
resources
/application.properties
→
jodconverter-web/src/main/
conf
/application.properties
View file @
236ed405
...
...
@@ -11,5 +11,20 @@ spring.freemarker.expose-session-attributes = true
spring.freemarker.request-context-attribute
=
request
spring.freemarker.suffix
=
.ftl
#默认环境
spring.profiles.active
=
dev
\ No newline at end of file
##资源映射路径
file.dir
=
D:
\\
kkFileview
\\
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice home路径
office.home
=
C:
\\
Program Files (x86)
\\
OpenOffice 4
server.tomcat.uri-encoding
=
UTF-8
converted.file.charset
=
GBK
#文件上传限制
spring.http.multipart.max-file-size
=
100MB
##文本类型
simText
=
txt,html,xml,java,properties,mp3,mp4,sql
#多媒体类型
media
=
mp3,mp4,flv,
#缓存实现类型,不配默认为JDK实现,可配置为redis实现(需要配置spring.redisson.address等参数)
#cache.type = redis
#redis连接
#
spring.redisson.address
=
192.168.1.204:6379
\ No newline at end of file
jodconverter-web/src/main/resources/application-dev.properties
deleted
100644 → 0
View file @
0fb02e3c
##资源映射路径
file.dir
=
C:
\\
Users
\\
yudian
\\
Desktop
\\
dev
\\
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice home路径
office.home
=
C:
\\
Program Files (x86)
\\
OpenOffice 4
server.tomcat.uri-encoding
=
UTF-8
converted.file.charset
=
GBK
#文件上传限制
spring.http.multipart.max-file-size
=
100MB
##文本类型
simText
=
txt,html,xml,java,properties,mp3,mp4,sql
#多媒体类型
media
=
mp3,mp4,flv,rmvb
#缓存及队列实现类型,默认为JDK实现,可选redis(需要加spring.redisson.address等配置)
#cache.type = redis
#
spring.redisson.address
=
192.168.1.204:6379
\ No newline at end of file
jodconverter-web/src/main/resources/application-prod.properties
deleted
100644 → 0
View file @
0fb02e3c
file.dir
=
/data/file-preview/convertedFile/
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
office.home
=
/opt/openoffice4
server.tomcat.uri-encoding
=
utf-8
converted.file.charset
=
utf-8
spring.http.multipart.max-file-size
=
100MB
simText
=
txt,html,xml,java,properties,sql,js,md,json,conf,ini,vue,php,py,bat,gitignore,log,htm,css,cnf
media
=
mp3,mp4,flv
cache.type
=
redis
spring.redisson.address
=
10.19.140.7:6379
spring.redisson.database
=
0
\ No newline at end of file
jodconverter-web/src/main/resources/application-uat.properties
deleted
100644 → 0
View file @
0fb02e3c
file.dir
=
/data/filepreview/
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
openOfficePath
=
123
office.home
=
/opt/openoffice4
server.tomcat.uri-encoding
=
utf-8
converted.file.charset
=
utf-8
spring.http.multipart.max-file-size
=
100MB
simText
=
txt,html,xml,java,properties,sql,js,md,json,conf,ini,vue,php,py,bat,gitignore,log,htm,css,cnf
media
=
mp3,mp4,flv
cache.type
=
redis
spring.redisson.address
=
192.168.1.204:6379
spring.redisson.database
=
3
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment