Ubuntu 20.04 Xenial 64bit
Tested with gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) (check with g++ -v).
$ sudo apt-get install g++ mysql-server libmysqlcppconn-dev
https://premake.github.io/download.html#v5
https://github.com/conan-io/conan/releases/tag/1.31.2
$ ./build.sh
$ source activate_run.sh
$ mysql -uroot -p # credentials are specific to your server
CREATE USER 'tradingop'@'localhost' IDENTIFIED BY 'connecttrade'; GRANT ALL PRIVILEGES ON tradingapp.* TO 'tradingop'@'localhost' WITH GRANT OPTION; CREATE DATABASE tradingapp;
If the credentials need to be different change them here, and edit database_config.json to match them.
$ mysql -utradingop -pconnecttrade tradingapp < database/schema.sql $ ./get_stock_data.sh | mysql -utradingop -pconnecttrade tradingapp
$ ./run_tests.sh
$ make
$ ./tradingApp