Before you can build and run TwMailer, you need to install annoying dependencies.
sudo apt-get install -y build-essential
sudo apt-get install -y libldap2-dev
sudo apt-get install -y cmake git
hint: 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
└── server
Navigate to the project root directory and run make to build the application.
make all
hint: 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 8080
Navigate to the tests directory
cd tests
make all
To run the tests:
make test