# Practice Tracker Setup ## Crow ### Debian #### Install ``` 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 ``` #### Compile ``` g++ test.cpp -lpthread ``` ### OS X #### Install ``` brew install asio brew install boost ``` #### Compile ``` g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread ``` ## MySQL ### Debian #### Install ``` sudo apt install libmysqlcppconn-dev ``` #### Compile ``` g++ -I/usr/include/cppconn mysql.cpp -lmysqlcppconn ``` ## Compile App ### Debian ``` g++ -I/usr/include/cppconn server.cpp -lpthread -lmysqlcppconn ```