Kno
Kno is a smart doors' lock management cloud platform.
Feature
- tiny and super quick
Build and Run
- Build static libraries
Use the tool generate_libs.sh
to build mongoose and jsoncpp source code. It will generate libmongoose.a and libjsoncpp.a in directory lib, if they do not exist.
Usage:
sh generate_libs.sh
- Build the target kno
mkdir build
cd build
cmake ..
make
- Run
Back to root dir and cd bin
. Run the kno.
./kno
Visit the IP: http://localhost:8888 (or other ports defined by variable s_http_port in server.cc file)
Display
Third Party Library
- mongoose-6.9 GPL-V2 License
- jsoncpp-1.8.3 MIT License
Generate libmongoose.a
git clone -b 6.9 --depth 1 github.com:cesanta/mongoose.git
cd mongoose
gcc -c -o mongoose.o mongoose.c
ar rcs libmongoose.a mongoose.o
Generate libjsoncpp.a
git clone -b 1.8.3 --depth 1 git@github.com:open-source-parsers/jsoncpp.git
cd jsoncpp
mkdir build
cd build
cmake ..
make