Syntax
|
Most of the installation and getting started is how to install, configure and use Caravan Business Server help files and information on Caravan Business Server as a development tool. Here we will cover how to Start a New development project in Caravan.
It is quite simple. No need to have a separate GUI to create a new project! Say you want to start a new project to develop a 'Content Management' Application. You just need to follow the following steps:
- Create a folder say 'C:\Content'. (For that matter any drive and folder name).
- Copy caravan.exe to C:\Content. (Depending on the operating system, you will need to copy the correct caravan executable. e.g for windows 95, 98 and ME - Caravan_9x.exe, for Windows NT, 2000, XP, 2003 - Caravan_nt.exe, linux - caravan etc)
- Execute Caravan.exe
- The Caravan screen will give the following message:
Starting Caravan : Warning! Caravan environment not set! Using Config file c:\content\httpd.cnf Please go to settings menu to install Caravan
- In settings enter or change the following parameters:
Check on Create Folders Enter 'Location' (say India - No spaces between words) The default port of caravan is 80. If it is clashing with your existing web server port address, then change 'Caravan Http port' (say 8182) If your first html page (in templates) which Caravan should display as default is say index.html, then enter this file name in 'Default URL'. It is optional.
- Save Caravan. It will ask for admin and password.
Admin = admin password = password
- Caravan will create the sub folders (e.g \bin, \db, \doc, \templates etc) and a new httpd.cnf file is created. It will display further
message in the caravan screen like Location=newyork, Caravan Enterprise server etc). It means that Caravan has started successfully!
- Now you can use any editor to write your Caravan scripting code and save in \templates folder. (Please note that the extension of the
files should be .html. Also if you create a new .html file and save it, please restart Caravan.exe)
Accessing Pages from Browser
To access the Caravan Business Server, type in the IP address of the host computer (say http://10.100.1.10/ or http://10.100.10.10:8182 or http://localhost) or http://localhost:8182) in the address text box of your browser. The default page say index.html (if present in \templates) will be loaded onto your browser). Or else you can type say http://localhost:8182/file. The defined file can be in \templates or in \doc
|