Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Qinka/Glob

Repository files navigation

Glob

A blog backend.


Snapshot

Glob is a small application, which I use to host my blog. It is wrote in Haskell with Yesod framework. Glob store the datas with Mongodb. And I split the frontend and backend thoroughly. And Glob nearly do nothing about viewing.

Usually I host Glob on Docker, with CaaS provider - DaoCloud. And the resource of container is small, but free, with 128Mb memary and a common-used cpu. And it suits for personal blog.

And to be honest, it is not a good blog backend, for many reason, including hard to maintain. Because, now, there are not any tool that can make maintain easier. If you want to upload, here, you need gnu-make and another things.

Glob is just the snake oil.

Usage

Unless you build binary yourself, I just provide binary in docker image form. Pull from DockerHub qinka/glob.

The tag of image include glob's infos: version, supposed-hosted plateform, git commit hash, operating system, OS release version, compiler, compiler version, compiler arch, enabled thread of not, and using llvm or not.

Windows Docker

Because of MS-Windows, I, now, am hard to build Windows docker with CI. I will try my best to build image manually.

Start

You need a mongodb database, and then see the man page of glob-launch(1). And then launch it, with docker, for more see the glob-docker(7).

Upload

If you want to upload thing, you need to write a Makefile. If you wnat to know how to write a Makefile to upload, see glob-makefile(7).

Other Docuemnts

Man Page

document infos
glob-launch(1) For launcher.
glob-ih(1) For a identification helper.
glob-timecheck(1) For the delay-checker.
glob-docker(7) About using Glob with Docker.
glob-makefile(7) About using make to upload.
glob-inner-variables About some inner variables.