Skip to content

An application sample built using Poco C++ Libraries for running on Apache Server through Poco ApacheConnector.

License

Notifications You must be signed in to change notification settings

edson-a-soares/poco_module_didactic

Repository files navigation

Poco ApacheConnector Sample

License

Overview

That is a simple application example created using Poco C++ Libraries. ApacheConnector is a Poco module that allows one to run C++ applications built using Poco Framework on Apache Server. The purpose of this sample is showing a bit more about running an Poco C++ application over ApacheConnector than what is available on Poco documentation.

Requirements for running it

  • Docker

Running the application

For starting the application:

docker build -t poco-apacheconnector-sample .
docker run -p8080:80 -d poco-apacheconnector-sample 

For following its execution reach Apache access and error logs:

docker ps
docker exec -it CONTAINER ID /bin/bash
# tail -f /var/log/apache2/error.log

Now, just access the address http://localhost:8080 on your favorite web browser.

For destroying the environment:

docker ps
docker stop CONTAINER ID

Standards and Style

This project do not follow any specific Coding Style Guidelines or Standard. But, it has been influenced by Google C++ Style Guide, PPP Style Guide and Applied Informatics C++ Coding Style Guide itself.

Useful links