-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Guide
cblech edited this page Feb 26, 2020
·
2 revisions
Note: This guide is far from complete.
Caswaf is currently developed on Windows, but it should work on any platform.
- Install the requirements for your system.
- When necessary adjust your environment variables, that you can call the required programs directly
- Create a directory for your project and open it in a console window
- Clone this repository
- Create a directory called
cmake-build-debug
!!! and enter it - Call
conan install -s build_type=Debug ..
. This could take a bit. - 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.
- Enter your projects root directory and execute the projectBuilder.
- Now build and run the caswaf target.
- Open your web browser of your choice and navigate to
localhost
.
If you see a website, congratulations. If not, good luck...