Skip to content

Commit

Permalink
update: readme with new docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Rooyca committed Aug 23, 2023
1 parent e583060 commit 7f5806b
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,22 @@ While reading your favorite articles you can highlight your texts and send them

If you dont have docker installed go [**here**](https://docs.docker.com/engine/install/) and follow the instructions.

1. Run
1. Pull the image

```bash
docker run -d -v /home/USER/Documents/Obsidian/Highlights/:/code/obsi -p 8888:8888 rooyca/markob:slim
docker pull ghcr.io/rooyca/markob:main
```

2. Export the `OBSIDIAN_PATH` variable

```bash
export OBSIDIAN_PATH=/home/USER/Documents/Obsidian/Highlights/
```

3. Run the image

```bash
docker run --rm -p 8888:8888 rooyca/markob:main
```

Where `/home/USER/Documents/Obsidian/Highlights/` is the path to your Obsidian vault. Make sure to create your `Highlights` folder in your vault.
Expand All @@ -63,10 +75,16 @@ git clone https://github.com/Rooyca/MarkOb
docker build -t markob .
```

3. Run the image
3. Export the `OBSIDIAN_PATH` variable

```bash
export OBSIDIAN_PATH=/home/USER/Documents/Obsidian/Highlights/
```

4. Run the image

```bash
docker run -d -v /home/rooyca/Documents/Obsidian/Highlights/:/code/obsi -p 8888:8888 markob
docker run --rm -p 8888:8888 markob
```

#### Binary
Expand Down

0 comments on commit 7f5806b

Please sign in to comment.