Skip to content

ANcpLua/TW-Mailer-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

TwMailer Project

Prerequisites

Before you can build and run TwMailer, you need to install annoying dependencies.

Install Build Tools for Make and g++

sudo apt-get install -y build-essential

Install LDAP Development Libraries

sudo apt-get install -y libldap2-dev

Install CMake and Git for GoogleTest

sudo apt-get install -y cmake git

Clone the GoogleTest repository to your project directory.

hint: cd ~/Documents/TwMailer/tests

git clone https://github.com/google/googletest.git || (cd googletest && git pull)

Directory Structure

├── src
│   ├── server
│   ├── client
│   └── shared
├── build
│   ├── server
│   ├── client
│   └── shared
├── bin
├── data
├── conf
├── logs
├── mail_spool
└── tests
     └─ obj
        ├── client
        ├── shared
        └── server

Building the Project

Navigate to the project root directory and run make to build the application.

make all

Server first

hint: port and mail directory can be adjusted in the .conf file else the program does it for you

 ./bin/twmailer-server

Client

 ./bin/twmailer-client 127.0.0.1 8080

Tests

Navigate to the tests directory

cd tests
make all

To run the tests:

make test

About

Verteilte Systeme 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published