There may be situations where you wish to create a custom BoltWire application, that has only a very limited set of actions and pages -- such as a cookbook, or addressbook. The following approach can be used to create a simple standalone BoltWire installation.
1. Create a new BoltWire installation. Do not follow the steps below in a farm installation. (See note below).
2. Next, create an index.php file inside your BoltWire installation to look like the following:
|BoltWire App Setup|
The contents of this folder will need the following line to tell BoltWire to use the default system pages and not create a separate local pages directory. Also the new farm directory will need to be specified:
Finally, call the index.php file and BoltWire should spring to life, using the system pages as your local field pages.
Customizing the Application
Once you have this setup, you can begin modifying BoltWire as desired. Delete any pages you desire, and edit any you desire to keep. Be careful about deleting key pages (like the edit page) to avoid losing needed functionality. If you do, copy the page back from another BoltWire installation.
You can also begin trimming the code as well. Delete any commands, functions, or conditions you do not feel are necessary for your application. Install any plugins you wish and delete the rest. You can also delete unneeded skins.
Once you have completed your work, simply zip up your BoltWire directory, and you have a ready to go BoltWire application!
Note: It is possible to use your new application as a farm server. That is, you could create multiple cookbooks or addressbooks by simply creating a new field and linking it to your customized BoltWire engine. You cannot however do normal upgrades, as any deleted files will be replaced. You can of course, update specific modified files as desired.