Add installation instructions using tarballs
This commit is contained in:
parent
af80a2dcb4
commit
dc8419cabc
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
@ -13,6 +13,26 @@ through links in the page menu.
|
||||||
Right now, only installation through git is available. Alternatives will be
|
Right now, only installation through git is available. Alternatives will be
|
||||||
proposed at a later point.
|
proposed at a later point.
|
||||||
|
|
||||||
|
### Installation using archives
|
||||||
|
|
||||||
|
#### Requirements
|
||||||
|
|
||||||
|
* `curl`
|
||||||
|
* `tar`
|
||||||
|
* `gzip`
|
||||||
|
|
||||||
|
#### Current stable version (1.0.0)
|
||||||
|
|
||||||
|
Assuming the root directory of your DokuWiki installation is `/srv/dokuwiki`:
|
||||||
|
```
|
||||||
|
DOKUWIKI_PATH=/srv/dokuwiki
|
||||||
|
TARBALL_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages/-/archive/1.0.0/dokuwiki-childrenpages-1.0.0.tar.gz
|
||||||
|
curl "$TARBALL_URL" > dokuwiki-childrenpages-1.0.0.tar.gz
|
||||||
|
mkdir --parents "$DOKUWIKI_PATH/lib/plugins/childrenpages"
|
||||||
|
gzip --stdout --decompress dokuwiki-childrenpages-1.0.0.tar.gz | tar xf - --strip-components=1 --directory="$DOKUWIKI_PATH/lib/plugins/childrenpages"
|
||||||
|
rm dokuwiki-childrenpages-1.0.0.tar.gz
|
||||||
|
```
|
||||||
|
|
||||||
### Installation using git
|
### Installation using git
|
||||||
|
|
||||||
#### Requirements
|
#### Requirements
|
||||||
|
|
Loading…
Reference in a new issue