A Browser based viewer for CMIS 1.0 complaint repositories.
This is the code repository for the E-Ark, browser based, CMIS viewer project All issues concerning features and issues with UI should to be reported here.
For the backend
- A servlet container such as Apache Tomcat 7+
- Java 1.8+
- Apache Maven 3.3+
For the frontend
- Angular JS - 1.4.12+
- Gulp build tool (requires Node.js and npm)
- A webserver like Apache 2 or Nginx
Preparing the Server:
- Install Java 1.8+
- Install a relational database such as Mariadb/PostgreSql using the appropriate method(s) for the operating system.
- Create the database on the database server using this script located in the: bridge/src/main/sql/setup_db.sql directory
- Install Node.js and Npm
- Install Apache Maven 3.3+
- Install a Java Servlet Container such as Apache Tomcat 7+
- Install a HTML webserver such as Apache webserver or Nginx
Installing the viewer:
-
Clone the project
-
For the bridge/backend:
1 - In the root of the bridge folder, build the project using maven by execuing the following command in a terminal:mvn clean package
.
There should now be a resulting*.war
file in bridge/target directory namedcmis-bridge.war
2 - Install the warfile in your java servlet container
3 - Browse to http://server-address:port/app-context/webapi/system/check and it should result in a simple HTML page twith the following message:CMIS Bridge is up and running!
(Note that the "app-context" portion of the url is optional. In case the war isn't deployed as the ROOT context in the servlet container. The default app-context will becmis-bridge
, unless of course the WAR file is renamed to something else) -
Installing the UI:
1 - Configure the webserver to serve the project root directory
2 - There's sort of an in-app proxying to the bridge so this url needs to be changed to target the bridge service. (As can be seen in this case, it is targetting the app context on the magenta server)
3 - Run terminal commands: ``` npm updatenpm install bower update bower install gulp build ```
- TreeView
- Search
- oAuth enabled authentication