From a94bb66b535493730d065578edd3986cdfacbc1e Mon Sep 17 00:00:00 2001 From: mahuntington Date: Mon, 6 Feb 2023 21:46:28 -0500 Subject: [PATCH] Update 'README.md' --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 00ad18a..8a2d207 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,30 @@ -```g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread``` +# Practice Tracker Setup -```brew install asio``` +## Crow -```brew install boost``` +### Debian + +``` +sudo apt install build-essential +sudo apt install libasio-dev +wget https://github.com/CrowCpp/Crow/releases/download/v1.0%2B5/crow-v1.0+5.deb +sudo dpkg -i crow-v1.0+5.deb +g++ test.cpp -lpthread +``` + +### OS X + +``` +brew install asio +brew install boost +g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread +``` + +## MySQL + +### Debian + +``` +sudo apt install libmysqlcppconn-dev +sudo g++ -Wall -I/usr/include/cppconn -o testapp mysql.cpp -L/usr/lib -lmysqlcppconn +``` \ No newline at end of file