Before you can build and run TwMailer, you need to install annoying dependencies.
sudo apt-get install -y build-essentialsudo apt-get install -y libldap2-devsudo apt-get install -y cmake githint: cd ~/Documents/TwMailer/tests
git clone https://github.com/google/googletest.git || (cd googletest && git pull)├── src
│ ├── server
│ ├── client
│ └── shared
├── build
│ ├── server
│ ├── client
│ └── shared
├── bin
├── data
├── conf
├── logs
├── mail_spool
└── tests
└─ obj
├── client
├── shared
└── serverNavigate to the project root directory and run make to build the application.
make allhint: port and mail directory can be adjusted in the .conf file else the program does it for you
./bin/twmailer-server ./bin/twmailer-client 127.0.0.1 8080Navigate to the tests directory
cd tests
make allTo run the tests:
make test