2021-10-27 19:02:01 +00:00
|
|
|
## Configuring Trick with Civetweb
|
|
|
|
To configure Trick to support the civetweb web server, you'll need to
|
|
|
|
|
|
|
|
1. Download Civetweb from [Github](https://github.com/civetweb/civetweb). Where you put the Civetweb directory will be designated as $(CIVETWEB_HOME).
|
|
|
|
|
2021-10-27 19:41:01 +00:00
|
|
|
2. Build the Civetweb library.
|
|
|
|
3. Configure Trick.
|
2021-10-27 19:02:01 +00:00
|
|
|
|
|
|
|
### Building the Civetweb Library
|
|
|
|
```bash
|
|
|
|
cd $(CIVETWEB_HOME)
|
2022-03-14 18:09:05 +00:00
|
|
|
mkdir lib
|
2022-03-14 17:47:01 +00:00
|
|
|
make install-lib PREFIX=. CAN_INSTALL=1 WITH_WEBSOCKET=1
|
2021-10-27 19:02:01 +00:00
|
|
|
```
|
|
|
|
### Configuring Trick with Civetweb
|
|
|
|
```bash
|
|
|
|
cd $(TRICK_HOME)
|
|
|
|
./configure --with-civetweb=$(CIVETWEB_HOME)
|
|
|
|
make clean
|
|
|
|
make
|
|
|
|
```
|