Turns form data into JSON and opens a pull request. https://fediblock.org/
This repository has been archived on 2021-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
tastytea a9d3ab7aeb
continuous-integration/drone/push Build is failing Details
Add std::filesystem helper to CMake recipe.
2020-06-29 22:47:55 +02:00
cmake Add std::filesystem helper to CMake recipe. 2020-06-29 22:47:55 +02:00
src Add std::filesystem helper to CMake recipe. 2020-06-29 22:47:55 +02:00
tests CMake: Unset sources_tests after use. 2020-06-29 08:44:05 +02:00
.clang-format Add skeleton. 2020-06-29 03:07:46 +02:00
.drone.yml CI: Add tests with GCC 9 & 10, clang 10. 2020-06-29 09:02:03 +02:00
.editorconfig Add skeleton. 2020-06-29 03:07:46 +02:00
.gitignore Add skeleton. 2020-06-29 03:07:46 +02:00
AUTHORS Add skeleton. 2020-06-29 03:07:46 +02:00
CMakeLists.txt Add skeleton. 2020-06-29 03:07:46 +02:00
CODE_OF_CONDUCT.adoc Add skeleton. 2020-06-29 03:07:46 +02:00
CONTRIBUTING.adoc Fix URIs in contributing guidelines. 2020-06-29 06:24:56 +02:00
CREDITS Update credits. 2020-06-29 07:15:08 +02:00
LICENSE Add skeleton. 2020-06-29 03:07:46 +02:00
README.adoc Update dependencies in readme. 2020-06-29 09:09:37 +02:00

README.adoc

fediblock-backend

fediblock-backend turns form data into JSON and opens a pull request on FediBlock/data.

Table of Contents

Install

From source

Dependencies

  • Tested OS: Linux

  • C++ compiler with C++17 support (tested: GCC 7/8/9/10, clang 6/7/10)

  • CMake (at least: 3.9)

  • cgicc (tested: 3.2)

  • nlohmann-json (tested: 3.7 / 2.1)

  • Optional

    • Tests: Catch (tested: 2.5 / 1.10)

    • DEB package: dpkg (tested: 1.19)

    • RPM package: rpm-build (tested: 4.11)

Get sourcecode

git clone https://schlomp.space/FediBlock/backend.git

Compile

mkdir -p build && cd build
cmake ..
cmake --build . -- --jobs=$(nproc --ignore=1)
CMake options:
  • -DCMAKE_BUILD_TYPE=Debug for a debug build.

  • -DWITH_TESTS=YES if you want to compile the tests.

  • -DWITH_CLANG-TIDY=YES to check the sourcecode with clang-tidy while compiling.

  • One of:

    • -DWITH_DEB=YES if you want to be able to generate a deb-package.

    • -DWITH_RPM=YES if you want to be able to generate an rpm-package.

To create a deb or rpm package, run make package after compiling.