Matt Huntington 3 years ago
commit b147c8fdba

@ -4,19 +4,33 @@
### Debian ### Debian
#### Install
``` ```
sudo apt install build-essential sudo apt install build-essential
sudo apt install libasio-dev sudo apt install libasio-dev
wget https://github.com/CrowCpp/Crow/releases/download/v1.0%2B5/crow-v1.0+5.deb wget https://github.com/CrowCpp/Crow/releases/download/v1.0%2B5/crow-v1.0+5.deb
sudo dpkg -i crow-v1.0+5.deb sudo dpkg -i crow-v1.0+5.deb
```
#### Compile
```
g++ test.cpp -lpthread g++ test.cpp -lpthread
``` ```
### OS X ### OS X
#### Install
``` ```
brew install asio brew install asio
brew install boost brew install boost
```
#### Compile
```
g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread
``` ```
@ -24,7 +38,22 @@ g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread
### Debian ### Debian
#### Install
``` ```
sudo apt install libmysqlcppconn-dev sudo apt install libmysqlcppconn-dev
```
#### Compile
```
g++ -I/usr/include/cppconn mysql.cpp -lmysqlcppconn g++ -I/usr/include/cppconn mysql.cpp -lmysqlcppconn
``` ```
## Compile App
### Debian
```
g++ -I/usr/include/cppconn server.cpp -lpthread -lmysqlcppconn
```
Loading…
Cancel
Save