Drogon demo
1.0.0
Try the web framework Drogon
git clone https://github.com/an-tao/drogon
cd drogon
git submodule update --init
mkdir build
cd build
sudo apt update && sudo apt upgrade -y
sudo apt install cmake
sudo apt-get install libjsoncpp-dev
sudo apt-get install -y uuid-dev
cmake ..
make && sudo make installIf the command below displays "drogon" then it succeeds
drogon_ctl -vProject directory name: "demo"
# プロジェクト作成コマンド
drogon_ctl create project demo
# プロジェクトディレクトリのビルドに移動
# (ビルドディレクトリが無ければ作成)
cd ./dmeo/build
# Makefile作成
cmake ..
# ビルド&コンパイル
make
# 実行
sudo ./demo
# ↑強制的に80番ポートを使用するためsudoを使用。sudoを用いなければ80番ポートが別のプロセスで使用されていた場合にはエラーになってしまう。 I heard that it's a C++ web framework, but it wasn't as interesting as I imagined, despite the tediousness of building an environment.