Skip to content

Commit

Permalink
Merge pull request #65 from JankariTech/chore/update-docs
Browse files Browse the repository at this point in the history
chore: bump version to 2.0.0-beta.1
  • Loading branch information
saw-jan authored Jul 22, 2024
2 parents 0c27582 + bd00453 commit 399d6c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 93 deletions.
30 changes: 7 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,20 @@ It allows users to:

## Supported oCIS and Web Versions

- [oCIS](https://github.com/owncloud/ocis) (>= 5.1.x)
- [oCIS](https://github.com/owncloud/ocis) (>= 6.x.x)
- [Web](https://nodejs.org/en/) (>= 9.x.x)

## App Installation

#### 1. Install Dependencies
> NOTE: Requires oCIS >= 6.0.0
```bash
pnpm install
```

#### 2. Build the extension

```bash
pnpm build
```

The extension will be built in the `dist` directory.
1. Download the zip file from the [releases page](https://github.com/JankariTech/web-app-presentation-viewer/releases)

> NOTE: Requires oCIS >= 5.1 (not released yet)
For example: `mdpresentation-x.x.x.zip`

External apps can be loaded into the oCIS without separate app server. We just have to use `WEB_ASSET_APPS_PATH`, an oCIS environment variable, while running oCIS server to set the directory where all the external apps are located.
2. Extract the zip file to the `apps` directory of the oCIS server.

For example:

```bash
...
WEB_ASSET_APPS_PATH=</path/to/dist> \
ocis server
```
Apps directory is set using the `WEB_ASSET_APPS_PATH` environment variable.

## Development

Expand All @@ -70,7 +54,7 @@ pnpm build:w

#### 3. Load the extension

> NOTE: Requires oCIS >= 5.1 (not released yet)
> NOTE: Requires oCIS >= 6.0.0
Run the oCIS server:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-app-presentation-viewer",
"version": "2.0.0-alpha.1",
"version": "2.0.0-beta.1",
"description": "Markdown Presentation Viewer for ownCloud Web",
"license": "Apache-2.0",
"private": true,
Expand Down
15 changes: 0 additions & 15 deletions tests/e2e/ci/nginx/nginx.conf

This file was deleted.

54 changes: 0 additions & 54 deletions tests/e2e/ci/web.config.json

This file was deleted.

0 comments on commit 399d6c9

Please sign in to comment.