From a9702c43c93c247685ae6d3c0f3fbed308888393 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 16 Feb 2021 21:12:00 +0100 Subject: [PATCH] Add some content --- gmnd/docs/index.gmi | 8 ++++++++ gmnd/docs/licensing.gmi | 19 +++++++++++++++++++ gmnd/docs/running.gmi | 19 +++++++++++++++++++ gmnd/index.gmi | 12 ++++++++++++ index.gmi | 4 ++-- 5 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 gmnd/docs/index.gmi create mode 100644 gmnd/docs/licensing.gmi create mode 100644 gmnd/docs/running.gmi create mode 100644 gmnd/index.gmi diff --git a/gmnd/docs/index.gmi b/gmnd/docs/index.gmi new file mode 100644 index 0000000..1f05df8 --- /dev/null +++ b/gmnd/docs/index.gmi @@ -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/ diff --git a/gmnd/docs/licensing.gmi b/gmnd/docs/licensing.gmi new file mode 100644 index 0000000..4a8ff30 --- /dev/null +++ b/gmnd/docs/licensing.gmi @@ -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/ diff --git a/gmnd/docs/running.gmi b/gmnd/docs/running.gmi new file mode 100644 index 0000000..d4652b8 --- /dev/null +++ b/gmnd/docs/running.gmi @@ -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/ diff --git a/gmnd/index.gmi b/gmnd/index.gmi new file mode 100644 index 0000000..aaaa5b5 --- /dev/null +++ b/gmnd/index.gmi @@ -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 diff --git a/index.gmi b/index.gmi index c06ac24..90af08e 100644 --- a/index.gmi +++ b/index.gmi @@ -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