Skip to content

Setup Guide

cblech edited this page Mar 6, 2020 · 2 revisions

Note: This guide is far from complete.

Caswaf is currently developed on Windows, but it should work on any platform.

Requirements

Steps

  1. Install the requirements for your system.
  2. When necessary adjust your environment variables, that you can call the required programs directly
  3. Create a directory for your project and open it in a console window
  4. Clone this repository
  5. Create a directory called cmake-build-debug!!! and enter it
  6. Call conan install -s build_type=Debug ... This could take a bit.
  7. Use cmake to build and run the project. If you are new to cmake, Google will help you with this step.

There are two targets in the project, caswaf and projectBuilder. Caswaf is the actual web server, but you will probably find, that it doesn't compile. On the other hand the projectBuilder should compile right away. The purpose of the projectBuilder is to compile the html files and static resources into c++ files.

  1. Enter your projects root directory and execute the projectBuilder.
  2. Now build the caswaf target.
  3. Copy all files in resources/static in to the same folder, where the executable was build.
  4. Run the executable.
  5. Open your web browser of your choice and navigate to localhost.

If you see a website, congratulations. If not, good luck...

Hey. This is a Sidebar. Isn't it great?

Yeah, amazing, I know.


Home
├ Setup Guide
└ Parts

Clone this wiki locally