Add some content

This commit is contained in:
Micke Nordin 2021-02-16 21:12:00 +01:00
parent 5a198c883e
commit a9702c43c9
5 changed files with 60 additions and 2 deletions

8
gmnd/docs/index.gmi Normal file
View file

@ -0,0 +1,8 @@
# gMNd Documentation
=> gemini://mic.ke/gmnd/docs/running.gmi How to run gMNd
=> gemini://mic.ke/gmnd/docs/contributing.gmi How to contribute to gMNd
=> gemini://mic.ke/gmnd/docs/licensing.gmi gMNd is free software!
..
=> gemini://mic.ke/gmnd/docs/index.gmi back to gmnd/

19
gmnd/docs/licensing.gmi Normal file
View file

@ -0,0 +1,19 @@
# License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see:
=> https://www.gnu.org/licenses/
..
=> gemini://mic.ke/gmnd/docs/index.gmi back to gmnd/docs/

19
gmnd/docs/running.gmi Normal file
View file

@ -0,0 +1,19 @@
You can build and run it from the supplied Dockerfile if you so whish:
```
docker build -t gmnd:latest .
```
By just running it, it will create self signed certs and serve example content from this repo:
```
docker run -p 1965:1965 gmnd
```
A slightly more interesting thing it can do is serve your own content, in this example from /tmp/content on your host machine:
```
docker run --mount type=bind,source="/tmp/content,target=/app/content" -p 1965:1965 gmnd
```
Or even supply your own certificates from the outside, in this example in /usr/local/certs:
```
docker run --mount type=bind,source="/tmp/content,target=/app/content" --mount type=bind,source="/usr/local/certs,target=/app/certs" -p 1965:1965 gmnd
```
..
=> gemini://mic.ke/gmnd/docs/index.gmi back to gmnd/docs/

12
gmnd/index.gmi Normal file
View file

@ -0,0 +1,12 @@
# gMNd
gMNd is my gemini server. It is written in python, with the primary purpose to serve this content. You are very welcome to try it out however.
Currently it only serves static files.
# Docs
Some documention is available here:
=> gemini://mic.ke/gmnd/docs/
# Github
Source code is on github:
=> https://github.com/mickenordin/gmnd

View file

@ -8,8 +8,8 @@
# Welcome to Micke's gemini capsule
I am very new to gemini, but this capsule runs on my own crude gemini server implementation that you can find here:
=> https://github.com/mickenordin/gmnd
I am very new to gemini, but this capsule runs on my own crude gemini server implementation that you can find some information about here:
=> gemini://mic.ke/gmnd
If you want to talk to me you can find me on:
=> https://koyu.space/@micke