|
CompilingFromSource
To compile WebToolkit from source, you have to install cmake. 1. Check out code from svn: svn checkout http://madfish-webtoolkit.googlecode.com/svn/trunk/ WebApps 2. Create build folder: mkdir WebAppsBuild cd WebAppsBuild 3. Invoke cmake. For Windows (Visual Studio 2008) cmake -G "Visual Studio 9 2008" ..\WebApps For Unix-like systems (by default it will use Unix makefiles, and that is ok) cmake ../WebApps #Debug version cmake -DCMAKE_BUILD_TYPE=Release ../WebApps #Release version cmake -DCMAKE_BUILD_TYPE=Release -DDOCS=YES ../WebApps #Release version with documentation 4. Build.
5. For FileServer and RatioProxy you should put their data files in the executable's folder (you should find them in the Data folders). For example, for RatioProxy you should put RatioProxy.exe and RatioProxy.conf into one folder for it to work. |
Sign in to add a comment
0. On Ubuntu (Jaunty) there is no c++ compiler installed by default. This helps:
4. (Linux) Makefile is generated in WebApps/ folder, so assuming we are still in WebAppsBuild, make could be invoked as:
Z. Test built apps. Run
Now go to http://localhost:8080/ and you should see the 'Hello, world!' message.