















|
<Compiling Web Services>
How to compile, install, run, and uninstall a <bigwig> service:
- Download the "Hello World" service: hello.wig
- Compile the service by executing:
bigwig
hello.wig
(This will generate the compiled code, install/uninstall scripts,
and a session list Web page.)
- Install the compiled service on your Web server:
./hello.install test
(This will generate the service executable in the directory
~/bigwig-bin/test/ and also install the session list Web page.)
- Run the hello session of the "Hello World"
service by opening
http://SERVER/bigwig-USER/test/hello?_ses=Hello
(where SERVER is the server host name and
USER is your user name) in your browser.
Alternatively, to see the list of available sessions in the
service (there is just one session in hello.wig), open the session list Web page:
http://SERVER/bigwig-USER/test/index.html
- Uninstall the service by running:
./hello.uninstall test
See the compiler manual page (man bigwig) for more
information about the compilation and installation procedure.
|