Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
 (sudo and restart)
  • Loading branch information
textspur committed Jan 9, 2024
1 parent e932604 commit d847498
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@ You can install the development version of `rollama` from [GitHub](https://githu

``` r
# install.packages("remotes")
remotes::install_github("JBGruber/`rollama`")
remotes::install_github("JBGruber/rollama")
```

The easiest way to get Ollama itself up and running is through [Docker](https://docs.docker.com/desktop/).
From the command line interface, you can start Ollama locally with one command:
From the command line interface, you can start Ollama locally with one command (add `sudo` if `permission denied`):

```
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
```

After restarting, you can run Ollama again with the command (add `sudo` if `permission denied`):
```
docker start ollama
```


## Example

The first thing you should do after installation is to pull one of the models from <https://ollama.ai/library>.
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@ You can install the development version of `rollama` from

``` r
# install.packages("remotes")
remotes::install_github("JBGruber/`rollama`")
remotes::install_github("JBGruber/rollama")
```

The easiest way to get Ollama itself up and running is through
[Docker](https://docs.docker.com/desktop/). From the command line
interface, you can start Ollama locally with one command:
interface, you can start Ollama locally with one command (add `sudo` if `permission denied`)::

docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

After restarting, you can run Ollama again with the command (add `sudo` if `permission denied`):

docker start ollama


## Example

The first thing you should do after installation is to pull one of the
Expand Down

0 comments on commit d847498

Please sign in to comment.