Skip to content

Commit

Permalink
delete start.sh and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldwuhoo authored and mbrubeck committed Nov 28, 2024
1 parent 06c2d29 commit e2d9b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 2 additions & 6 deletions tools/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ cd agate
```

## build the image
Enter the `tools/docker` directory:

```
cd tools/docker
```
And now build the docker image:
Now build the docker image:

```
docker build -t agate .
Expand All @@ -45,7 +41,7 @@ This process will take a few minutes because all the rust modules have to be com
## start the docker container

```
docker run -t -d --name agate -p 1965:1965 -v /var/www/gmi:/gmi -v /var/www/gmi/.certificates:/app/.certificates -e HOSTNAME=example.org -e LANG=en-US agate:latest
docker run -t -d --name agate -p 1965:1965 -v path/to/gmi:/gmi:ro -v path/to/certs:/certs:rw agate:latest --hostname localhost
```

You have to replace `/var/www/gmi/` with the folder where you'd like to have gemtext files and `/var/www/gmi/.certificates/` with the folder where you'd like to have your certificates stored. You also have to have to replace `example.org` with your domain name and if plan to speak in a different language than english in your gemini space than you should replace `en-US` with your countries language code (for example de-DE or fr-CA).
Expand Down
8 changes: 0 additions & 8 deletions tools/docker/start.sh

This file was deleted.

0 comments on commit e2d9b8f

Please sign in to comment.