Skip to content

Commit

Permalink
update readme for release
Browse files Browse the repository at this point in the history
  • Loading branch information
bgpalmer committed Aug 24, 2023
1 parent f705038 commit 5b9ae51
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ A docker image for sampleDB can be pulled from [DockerHub](https://hub.docker.co
To pull from DockerHub, run the command below:

```bash
docker pull eppicenter/sampledb:v2.1.0
docker pull eppicenter/sampledb:v2.1.1
```

##### Option 2: Build the image

You can build the image instead of pulling from DockerHub. To do so, run the following command:

```bash
docker build -t eppicenter/sampledb:v2.1.0 .
docker build -t eppicenter/sampledb:v2.1.1 .
```

#### 3. Create your container

This is the final step. The host `localhost` and port `8080` will be used to access the application within the container, and all volumes needed to run the container are passed in on the command line. Notice that the sampleDB database volume is also include in the list of volumes.

```bash
docker run -d -p 8080:3838 -v /srv/shinyapps/:/srv/shiny-server -v /srv/shinylog/:/var/log/shiny-server -v sampledb_database:/usr/local/share/sampleDB --restart unless-stopped --name sampleDB eppicenter/sampledb:v2.1.0
docker run -d -p 8080:3838 -v /srv/shinyapps/:/srv/shiny-server -v /srv/shinylog/:/var/log/shiny-server -v sampledb_database:/usr/local/share/sampleDB --restart unless-stopped --name sampleDB eppicenter/sampledb:v2.1.1
```

#### 4. Access sampleDB
Expand Down Expand Up @@ -79,7 +79,7 @@ To install sampleDB at the site level, you can run the command below using an R
```R
remotes::install_github(
"https://github.com/EPPIcenter/sampleDB-rpackage",
ref = "v2.1.0",
ref = "v2.1.1",
lib = .libPaths()[1]
)
```
Expand All @@ -93,7 +93,7 @@ For a local install, the below command is sufficient within a regular RStudio or
```R
remotes::install_github(
"https://github.com/EPPIcenter/sampleDB-rpackage",
ref = "v2.1.0"
ref = "v2.1.1"
)
```

Expand Down

0 comments on commit 5b9ae51

Please sign in to comment.