The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

simple-user-setup-sqlite - set up a wiki together with default content

SYNOPSIS

  # Set up or update the storage backend, leaving any existing data intact.
  # Useful for upgrading from old versions of CGI::Wiki to newer ones with
  # more backend features.

  simple-user-setup-sqlite --name mywiki.db

  # Overwrite the nodes with the default contents

  simple-user-setup-sqlite --name mywiki --clear

  # Clear out any existing data and set up a fresh backend from scratch.

  simple-user-setup-sqlite --name mywiki.db --clear

DESCRIPTION

Takes one mandatory argument:

name

The name of the file to store the SQLite database in. It will be created if it doesn't already exist.

and up to two optional flags:

clear

Wipes out all preexisting data within your wiki. This is great while you are testing and playing around, and fatal unless you have good backups.

force

Overwrites already existing nodes with the content from this file. This is still great while you are playing around and not totally fatal, but good backups are still advisable.

AUTHOR

Max Maischein (corion@cpan.org)

COPYRIGHT

     Copyright (C) 2003 Max Maischein.  All Rights Reserved.

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

CGI::Wiki::Simple