Wiki On A Stick
A wiki that runs on, and renders markdown documents from a thumbdrive.
Install
Automagic Install
WOS_INSTALL_PATH=/mnt/thumb-drive bash <(curl -s https://raw.githubusercontent.com/mikeshultz/wikionastick/master/install_usb.sh)
You can review the installer script ahead of time, but this is the easiest way to install WikiOnAStick to a mounted thumbdrive.
If you only need a specific OS supported, set WOS_OS
to one of the following:
linux64
, darwin64
, freebsd64
or win64
.
Manual
- Grab a copy of the release from the releases page.
- Create a directory on your thumbdrive that will contain your docs
- Unzip/untar files to that directory
- Create documentation files, with
index.md
orREADME.md
as the default page. All links are relative.
See the Example below for more information.
Usage
Usage:
wikionastick [OPTIONS]
Application Options:
-t, --template= Path to a template directory
-l, --loglevel= Log level. ['debug', 'info', 'warning', 'error']
Help Options:
-h, --help Show this help message
Templates
You can create your own HTML/CSS/JS templates. Just copy the directory
templates/default
to templates/mytemplate
and modify files as necessary.
You will have to invoke wikionastick
with the new template path:
wikionastick -t templates/mytemplate
Example
Thumbdrive layout:
/mnt/thumbdrive
wikionastick
templates/
default/
base_template.html
main.css
README.md
docs/
example.md
README.md:
# Hello!
World. See my [example notes](docs/example.md).