Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 820 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 820 Bytes

Luna

Very tiny SW Platform for Web API using C++ and mongoose web server.

How to build

step1. make dependency libraries

step2. make Luna

step3. make applications

Build

STEP1: How to build dependency libraries

There are nothings to build dependency libraries. If you don't need to use cURL, Mbedtls or MQTT, you have to turn off options for their in CMakeLists.txt.

Before starting build, you have to install the OpenSSL into your system. And set 'OPENSSL_ROOT_DIR' environment variable.

CMake will find the OpenSSL package using that 'OPENSSL_ROOT_DIR'.

STEP2: How to build Luna

Linux & OS X

cd ~/Luna
mkdir build  
cd build
cmake ..
make

STEP3: How to build a test application to test Web Server and Websocket

Linux

cd ./Luna/build
./bin/WebServerTest