Do not use DISTFILES, use EXTRA_DIST instead or else Makefile.{am,in} won't be included
[xsp.git] / INSTALL
blob45a7eaa6555b79414076c7fb78e29744d192f20c
1 * Compiling and installing XSP
2 -------------------------------
4     We will assume you want to install XSP in /usr.
6     To compile XSP type and install it to /usr:
8         ./configure --prefix=/usr
9         make 
10         make install
12     If you don't specify --prefix, it will default to /usr/local.
14     If ./configure finds a working 'gmcs' it will automatically build a
15     2.0 profile version of xsp, named xsp2.
17 * Running XSP with the bundled tests
18 ------------------------------------
20     Go to /usr/lib/xsp/test directory and run:
22         mono /usr/bin/xsp.exe 
24     You can optionally provide a port where the server should listen on:
26         mono /usr/bin/xsp.exe --port 80
28     The default port is 8080.
30     There are other command line options. Run:
31     
32         mono /usr/bin/xsp.exe --help
34     to display all of them.
36 Notes for MS runtime users
37 ----------------------------
38 If you're compiling under windows, you may need to copy xsp.exe,
39 ICSharpCode.SharpZipLib.dll and Mono.Http.dll (distributed with mono) to
40 xsp/server and xsp/server/test/bin directories if it's not installed for
41 the system.
43 (*) In windows, if you want to build xsp using csc, do:
45     MCS=csc make
47 You will also need IIS with support for ASP.NET for xsp to work with the
48 MS runtime.