bowwow.exe standalone executable
After downloading, to run the standalone BowWow server,
simply type its name on the command line. Or as seen
in the screenshot below, type start bowwow
to start it in
a separate console window.
C:\bowwow>ls bowwow.exe C:\bowwow>start bowwow.exe C:\bowwow>ls app bowwow.exe config public temp C:\bowwow>
As seen in the directory listing above, several new directories appear after BowWow is started. The app directory will contain your application code and templates. The config directory will contain configuration settings for the installation. The public directory contains files such as stylesheets and images. The temp directory is the default location for log files, session state, and other miscelleneous files. Note that other directories described in Directory structure are missing as their content is contained within the executable itself.
The above commands will start up BowWow in a separate console window as shown below.
BowWow 0.4 Server started on port 8015 Enter Ctrl-C to exit...
The window shows the BowWow server running on port 8015, which
is the BowWow default. You can run the server on a different port by
specifying the -port PORTNUMBER
command line
option when starting the server. After starting BowWow, browsing to
URL http://localhost:8015
should bring up the web page below.
you can change the URL at which the application is rooted by
specifying the option -urlroot URLROOT
. By default
the application URL is at /.
Built-in utilities
The bowwow.exe executable includes commands for invoking the application generation tools. Instead of invoking the wag script however, the commands should be directly invoked through bowwow.
C:\bowwow> bowwow url ?-excludeviews BOOLEAN? ?list of urls? C:\bowwow> bowwow verify
Refer to the wag - Woof! Application Generator chapter for details of these commands.
More examples of using BowWow can be found in the Quick start chapter.