simple-user-setup-sqlite - set up a wiki together with default content
# 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
Takes one mandatory argument:
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:
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.
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.
Max Maischein (email@example.com)
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.