Giter Club home page Giter Club logo

oarword's Introduction

oarword

A Javascript Based Doc/Docx Editor (Support Chrome only!)

1.Component

1.1 oarword-js: static files

1.2 oarword-java: servlets

1.2.1 dependent jars download: http://pan.baidu.com/share/link?shareid=327061688&uk=2432909170

1.2.2 includs: docx4j-2.8.1,fileupload-1.3,httpclient4.2.5,dom4j-1.6.1,gson-2.2.4,jodconverter(modified)-3b4,pdfbox-1.8.2

1.3 libreoffice 4: sudo apt install libreoffice, then run as service

1.3.1 start command: sudo soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

1.3.2 stop command: sudo soffice -headless -unaccept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

2.Config

2.1 js config:  oarword-js/js/config.js

2.2 java config: oarword-java/src/config.properties

3.Deploy

3.1 create 'oarword' directory as WEBROOT

3.2 copy files in 'oarword-js' into 'oarword'

3.3 copy 'WEB-INF' and 'META-INF' in 'oarword-java' into 'oarword'

3.4 build oarword-java's project with jars in 'oarword-depend-lib.zip' and 'servlet-api.jar' and copy 'build/classes' into 'oarword/WEB-INF'

3.5 unzip 'oarword-depend-lib.zip' and copy 'lib' into 'oarword/WEB-INF'

3.6 create directory 'upload' and 'tmp' in 'oarword', make sure these directories are writable

3.7 deploy 'oarword' in Tomcat8

3.8 install Chinese fonts, 如果使用中文字体, 需要在服务器端安装中文字体。将字体拷贝到/usr/share/fonts/msfonts, sudo fc-cache -fv

4.Run

5.Contact

Email: [email protected]

2013.6

oarword's People

Contributors

airxiechao avatar

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.