Skip to content

Commit

Permalink
Merge pull request #46 from bouncepaw/0.14
Browse files Browse the repository at this point in the history
1.0
  • Loading branch information
bouncepaw authored Mar 14, 2021
2 parents 15aab93 + 215ce70 commit 24d79da
Show file tree
Hide file tree
Showing 41 changed files with 784 additions and 807 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
mycorrhiza
hyphae/*.gog

# go editors and IDEA folders
.idea/
.vscode/
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
run: build
./mycorrhiza metarrhiza

auth_run: build
./mycorrhiza -auth-method fixed metarrhiza

gemini_run: build
./mycorrhiza -gemini-cert-path "." metarrhiza
config_run: build
./mycorrhiza -config-path "assets/config.ini" metarrhiza

build:
go generate
Expand Down
28 changes: 6 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 🍄 MycorrhizaWiki 0.13
# 🍄 MycorrhizaWiki
A wiki engine.

[Main wiki](https://mycorrhiza.lesarbr.es)

## Building
Also see [detailed instructions](https://mycorrhiza.lesarbr.es/page/deploy) on wiki.
Also see [detailed instructions](https://mycorrhiza.lesarbr.es/hypha/deploy) on wiki.
```sh
git clone --recurse-submodules https://github.com/bouncepaw/mycorrhiza
cd mycorrhiza
Expand All @@ -21,26 +21,10 @@ mycorrhiza [OPTIONS...] WIKI_PATH
WIKI_PATH must be a path to git repository which you want to be a wiki.
Options:
-auth-method string
What auth method to use. Variants: "none", "fixed" (default "none")
-fixed-credentials-path string
Used when -auth-method=fixed. Path to file with user credentials. (default "mycocredentials.json")
-gemini-cert-path string
Directory where you store Gemini certificates. Leave empty if you don't want to use Gemini.
-header-links-hypha string
Optional hypha that overrides the header links
-home string
The home page (default "home")
-icon string
What to show in the navititle in the beginning, before the colon (default "🍄")
-name string
What is the name of your wiki (default "wiki")
-port string
Port to serve the wiki at (default "1737")
-url string
URL at which your wiki can be found. Used to generate feeds (default "http://0.0.0.0:$port")
-user-hypha string
Hypha which is a superhypha of all user pages (default "u")
-config-path string
Path to a configuration file. Leave empty if you don't want to use it.
-print-example-config
If true, print an example configuration file contents and exit. You can save the output to a file and base your own configuration on it.
```

## Features
Expand Down
8 changes: 8 additions & 0 deletions assets/assets.qtpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{%- func HelpMessage() -%}
Usage of %s:
{%- endfunc -%}

{%- func ExampleConfig() -%}
{% cat "config.ini" %}
{%- endfunc -%}

{% func DefaultCSS() %}
{% cat "default.css" %}
{% endfunc %}
Expand Down
Loading

0 comments on commit 24d79da

Please sign in to comment.