Skip to content

XMatrixStudio/BlogReaper

Repository files navigation

BlogReaper

A blog reaper, not a blog system.

Build Status Coverage Status CodeFactor GoDoc

[Schema]

Quick Start

BlogReaper uses Violet as user system.

In order to build and run your BlogReaper, you need your own Violet application id and key. But we are sorry that Violet v2 doesn't provide any way to register an application for others outsides our studio.

Maybe Violet v3 supports it.

Installation

Install BlogReaper.

$ go get -u -v github.com/XMatrixStudio/BlogReaper

Copy the config/ folder into $GOPATH/bin/, and rename config.example.yaml as config.yaml.

For configure file, you need to input your Violet application id and key.

And run BlogReaper.

$GOPATH/bin/BlogReaper

Docker

Get

$ git clone https://github.com/XMatrixStudio/BlogReaper.git

cd BlogReaper, and rename config.example.yaml as config.yaml.

For configure file, you need to input your Violet application id and key.

Build

Before build, you must make sure go compile environment

$ ./build.sh

Make images and Run

$ docker build -t reaper .
$ docker run -p 30003:30003 --name blog_reaper -d reaper:latest

Stack

Start with MySQL

$ docker swarm init
$ docker stack deploy -c docker-compse.yml reaperstack

Development

BlogReaper uses gqlgen to generate GraphQL code.

$ go run ./scripts/gqlgen.go -v

License

For v1, none.

Releases

No releases published

Packages

No packages published

Languages