DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:git

This is an old revision of the document!


git Plugin

Compatible with DokuWiki

2012-01-25 "Angua"

plugin This plugin allows you to perform GIT actions from the administrator console.

Last updated on
2012-03-14
Provides
Admin
Repository
Source
Conflicts with
gitbacked

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to gitbacked

Tagged with control, git, source

Needed for betadoku

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Setup GIT repos

  1. Create a new, empty master (no working files) repo.
  2. Clone that repo to a new local repo (with working files).
  3. Copy that repo into the root of your DokuWiki installation.
  4. Create a .gitignore file:
conf/
bin/
inc/
lib/
 
data/attic/
data/cache/
data/index/
data/locks/
data/meta/
data/media_attic/
data/media_meta/
data/tmp/
 
*.php
.htaccess.dist
 
COPYING
README
VERSION
 
data/.htaccess
data/_dummy
data/deleted.files
data/security.png
data/security.xcf
  1. Manually commit to the master to make sure it works.
  2. Make sure the PATH environment variable (Windows) contains the git.exe path.

Examples/Usage

Go into the admin windows, click on “GIT Actions”. You will see that current status, an option to commit (and to enter a message) and to push to the master.

Configuration and Settings

It is assumed that the git repo that sits in the root of your DokuWiki installation points to the origin : master.

Change Log

  • 2012-03-14
    • Initial release

Known Bugs and Issues

  • Tested on Win7, running IIS.
  • Not tested on Linux yet.
  • Make sure the app pool and the “Physical Path Credentials” specify an account that has the correct SSH setting.

ToDo/Wish List

Plenty of improvements possible…

FAQ

No questions asked yet.

Discussion

plugin/git.1339486590.txt.gz · Last modified: 2012-06-12 09:36 by mprins

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki