2022-08-05 17:05:10 -05:00
| [Home ](/trick ) → [Documentation Home ](../Documentation-Home ) → [Web Server ](Webserver ) → Configuring Trick with Civetweb |
|------------------------------------------------------------------|
2021-10-27 14:02:01 -05:00
## Configuring Trick with Civetweb
To configure Trick to support the civetweb web server, you'll need to
2022-07-27 08:48:15 -05:00
1. Download or clone Civetweb release (currently v1.15) from [Github ](https://github.com/civetweb/civetweb ). Where you put the Civetweb directory will be designated as $(CIVETWEB_HOME).
2021-10-27 14:02:01 -05:00
2021-10-27 14:41:01 -05:00
2. Build the Civetweb library.
3. Configure Trick.
2021-10-27 14:02:01 -05:00
### Building the Civetweb Library
```bash
cd $(CIVETWEB_HOME)
2022-03-14 13:09:05 -05:00
mkdir lib
2022-03-14 12:47:01 -05:00
make install-lib PREFIX=. CAN_INSTALL=1 WITH_WEBSOCKET=1
2021-10-27 14:02:01 -05:00
```
### Configuring Trick with Civetweb
```bash
cd $(TRICK_HOME)
./configure --with-civetweb=$(CIVETWEB_HOME)
make clean
make
```
2022-08-05 17:05:10 -05:00
Continue to [Adding SSL Encryption ](SSL )