mirror of
https://github.com/nasa/trick.git
synced 2024-12-27 00:31:07 +00:00
279d131a0a
* Add breadcrumbs to all documentation pages, fix some links between pages
26 lines
846 B
Markdown
26 lines
846 B
Markdown
| [Home](/trick) → [Documentation Home](../Documentation-Home) → [Web Server](Webserver) → Configuring Trick with Civetweb |
|
|
|------------------------------------------------------------------|
|
|
|
|
## Configuring Trick with Civetweb
|
|
To configure Trick to support the civetweb web server, you'll need to
|
|
|
|
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).
|
|
|
|
2. Build the Civetweb library.
|
|
3. Configure Trick.
|
|
|
|
### Building the Civetweb Library
|
|
```bash
|
|
cd $(CIVETWEB_HOME)
|
|
mkdir lib
|
|
make install-lib PREFIX=. CAN_INSTALL=1 WITH_WEBSOCKET=1
|
|
```
|
|
### Configuring Trick with Civetweb
|
|
```bash
|
|
cd $(TRICK_HOME)
|
|
./configure --with-civetweb=$(CIVETWEB_HOME)
|
|
make clean
|
|
make
|
|
```
|
|
|
|
Continue to [Adding SSL Encryption](SSL) |