Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating docker commands in README. #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you need professional support or consulting, feel free to send your inquiry t

## Installation

A prebuilt version of the app can be installed from exist-db's central app repository. On your exist-db installation, open the package manager in the dashboard and select "TEI Publisher" for installation. This should automatically install dependencies such as the "TEI Publisher: Processing Model Libraries."
A prebuilt version of the app can be installed from exist-db's central app repository. On your exist-db installation, open the package manager in the dashboard and select TEI Publisher for installation. This should automatically install dependencies such as the TEI Publisher: Processing Model Libraries.

**Important**: TEI Publisher from version 5.0.0 requires [eXist-db 5.0.0](https://bintray.com/existdb/releases/exist/5.0.0/view/files) or later.

Expand Down Expand Up @@ -79,10 +79,10 @@ Following instructions are only relevant for developers who want to contribute t
## Docker

### Build Docker Image
* execute `docker build -t existdb/teipublisher:6.0.0 .` in your terminal
* execute `docker build -t existdb/teipublisher:8.0.0 .` in your terminal

### Run Docker Image
* execute `docker run --publish 8080:8080 --detach --name tp existdb/teipublisher:6.0.0` in your terminal
* execute `docker run --publish 8080:8080 --detach --name teipublisher existdb/teipublisher:8.0.0` in your terminal
* open `localhost:8080` in your browser

### How to run a completely dockerized development environment in vscode
Expand All @@ -93,7 +93,7 @@ Make sure you have [Visual Studio Code](https://code.visualstudio.com/download)

Make sure you do not have eXist running on 8080.

1. install “Remote - Containers” extension in vscode. In addition we highly recommend to install the "existdb-vscode" and "vscode-xml" extensions.
1. install “Remote - Containers” extension in vscode. In addition we highly recommend to install the existdb-vscode and vscode-xml extensions.
1. cmd-shift-p and find “Remote Containers: Clone Repository in Container Volume”
1. confirm “Clone a repository from GitHub in a Container Volume”
1. type “tei-publisher-app” and select “eeditiones/tei-publisher-app”
Expand Down