Stunnix products documentation: Stunnix Advanced Web Server - short HOWTO when using CDBuilder
Required step: see video tutorials on using CDBuilder
Required step: Creating a project in CDBuilder
Start CDBuilder: Select Project, New to create a project. You should select a project input directory (where various files used for your CD will reside, e.g. database files and web content).
Put the database files into a subdirectory of your input directory, place your web content into another subdirectory.
Select an output directory (specify a relative input directory, e.g. like "../out") - it's the directory where the prototype (tree of folders and files) of CD will be copied to.
Go to → "Project" → "Site Settings" → "General" → "Main Properties" and specify the platforms that your product will support and the paths to the directory with the database files and web content which are RELATIVE to the input directory (e.g. if "c:\mycd1\in" is the project input directory and "c:\mycd1\in\webroot" is the directory with web content, specify "webroot" as the directory with web content, and so on and so forth for directories with database files.
WARNING! There is a detailed sample on directory layouts available in a separate document located here.
Required step: Specify other settings
Select → "Project" → "Site Settings" and specify database access modes in "Databases" → "MySQL" and "Databases" → "SQLite" (or turn off support for SQLite and MySQL there).
On the same page, in "Scripting Languages" you can specify a desired support type for each scripting language, and select the extensions you need.
Required step: Update database connection strings in your scripts:
If your product uses MySQL
If your product uses SQLite
Optional step: Make your product more user friendly:
It's greatly recommended to add text to /README.html.
Specify the path to the splash screen and CDROM icon (not favicon!) relative to the project's input directory in Project, "Site Settings", "General", "Paths and the initial url".
Option Two: Protect your code from theft and analysis:
Optional step: Request any help from us
Please contact us if you have any questions. If the PHP available with our evaluation software doesn't include the extension you need, or if you wish to make SAWS support other platforms, or need an Apache module to become supported by SAWS - we can also help you.
Required step: Create CDROM Trees
Click Build → "Rebuild Changed" - you should get a prototype of your cdrom in the project's output directory. It's recommended to use CDBuilder for creation of ISO files for burning to CD - just click "Tools", "Create ISO out of project's output directory..". Just burn it directly onto a CD.
The program that creates the ISO images or burns prototypes directly to CDROMs should preserve case of filenames for your CD to work on platforms other than Windows (the ISO creation facility of CDBuilder does this correctly, so it's greatly not recommended to use third-party tools instead of it). In order to be able top append or replace some data on the CD, it may be wise to burn CDs in multi-session mode and not close the last session.
If you need to create a desktop application from the CDROM, use the tree in the project output directory as a prototype for your application.
Suggested step: Enjoy!
Please enjoy our products and tell your friends about how fantastic this software worked for you!