FWE Command Line Parameters
FWE supports different command line parameters: allowing you to test, install, remove the product before you put it into production. We like to install products on a test environment and find it frustrating when a product requires full integration before you can even kick the tires.
TEST
-T Test configuration and environment.
This allows you to test the database settings in your FWE Configuration File, making sure you are communicating with the ODBC driver and the database server correctly. If you have not created the tables (see below) this will return an error that a table is missing, if the connection works. That is fine, as this 2nd phase of this parameter is to return a view into your database tables, like:
Now testing database: lxwiki exists and has 2 records. lxwikiarchive exists and has 27 records. lxwikilinks exists and has 0 records. lxwikitopics exists and has 0 records. lxwikihits exists and has 2 records. lxwikiscore exists and has 0 records. lxwikilog exists and has 94 records. lxwikitags exists and has 219 records. lxwikiswearwords exists and has 353 records.
CREATE
-C Create tables for a new prefix.
This allows you to create all of the tables and populate it with the initial content based upon the information in your configuration file.
Creating examplewiki [OK] Creating examplewikiarchive [OK] Creating examplewikilinks [OK] Creating examplewikitopics [OK] Creating examplewikihits [OK] Creating examplewikiscore [OK] Creating examplewikilog [OK] Creating examplewikitags [OK] Creating examplewikiswearwords [OK] * Creating initial content Swearwords starting with "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" Creating Welcome Page [OK] Creating hit counter entry for Welcome [OK] * Tagging Welcome welcome, fpc, wiki, engine, fwe, expect, wrapped, tidy, package, followed, standard, markup, syntax, for, wikipedia, double, apostrophe, denotes, italic, triple, bold, quintuple, equal, signs, heading, sub, space, starting, line, mono, tab, asterisk, indent, bullet, two, indents, three, number, sign, numeric, ending, turns, off, above, blank, new, section, edited, individually, included, wikiwiki, phpwiki, finished.
REMOVE
-R Remove tables for an existing prefix.
This allows you to complete uninstall our product from your database server based upon the information in your configuration file.
Type "continue" to confirm: continue Removing examplewiki [OK] Removing examplewikiarchive [OK] Removing examplewikilinks [OK] Removing examplewikitopics [OK] Removing examplewikihits [OK] Removing examplewikiscore [OK] Removing examplewikilog [OK] Removing examplewikitags [OK] Removing examplewikiswearwords [OK]
NEW TAGS
-N Remove tags and apply new DONT_TAG* and KEEP_PHRASES rules.
This allows you to adjust the DONT_TAG, DONT_TAG_PRONOUNS and KEEP_PHRASES after your Wiki has started to grow and regenerate all of the "tag cloud words" and "search words", quick and simple.
To manually add content to your Wiki you specify the following parameters:
-A Page_Title "Author's Name" @filename
Page_Title is the title used internally when linking from page to page.
Author's Name is the identifier you want to record for this initial version of this page.
@filename is the name of the file you wish to load into the wiki. It should be a text file with all of the Wiki Markup language applied to it.
To manually via the content of your Wiki you specify the following parameters:
VIEW
-V PageTitle
This will show you details of the Wiki entry along with the actual content of the page in HTML format.
Search Engine

