Giter Site home page Giter Site logo

blogc

A blog compiler.

Quickstart

Clone the Git repository or grab the latest release's source tarball and extract it.

Dependencies

Building blogc requires:

  • CMake
  • Ninja (optional, but recommended)
  • ronn-ng (if configured with BUILD_MANPAGES=ON)
  • cmocka (if configured with BUILD_TESTING=ON)
  • bash, diff and tee (if configured with BUILD_TESTING=ON)
  • git, make and tar (if configured with BUILD_TESTING=ON and BUILD_BLOGC_GIT_RECEIVER=ON)

Running the blogc-git-receiver tool requires:

  • git, make and tar

Building and installing

Inside the source directory, run the following commands:

$ mkdir build
$ cmake \
      -B build \
      -S . \
      -G Ninja \
      [-DBUILD_BLOGC_GIT_RECEIVER=ON] \
      [-DBUILD_BLOGC_MAKE=ON] \
      [-DBUILD_BLOGC_RUNSERVER=ON] \
      [-DBUILD_MANPAGES=ON] \
      [-DBUILD_TESTING=ON]
$ cmake \
      --build build \
      --config Release
# cmake \
      --build build \
      --config Release \
      --target install

To create your first blog, please clone our example repository and adapt it to your needs:

$ git clone https://github.com/blogc/blogc-example my-blog
$ cd my-blog
$ rm -rf .git
$ git init
$ git commit -am 'initial commit'

At this point you'll have an empty blog, that can be customized to suit your needs. You'll want to look at the content/post/ directory and edit your first post. Each new post, template or asset must be added to the Makefile. Please read it carefully.

If some unexpected error happened, please file an issue.

-- Rafael G. Martins [email protected]

blogc's Projects

blogc doesnโ€™t have any public repositories yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.