Go to file
Lars Hoogestraat b41f66bfe5 added category test 2018-11-25 02:15:09 +01:00
assets fix nil pointer 2018-11-21 20:33:28 +01:00
clt started test refactoring 2018-11-25 00:07:40 +01:00
components started test refactoring 2018-11-25 00:07:40 +01:00
controllers added category test 2018-11-25 02:15:09 +01:00
examples removed fmt 2018-11-16 14:13:50 +01:00
middleware Revert "remove is admin field" 2018-11-21 17:57:17 +01:00
models added category test 2018-11-25 02:15:09 +01:00
routers added category test 2018-11-25 02:15:09 +01:00
settings fixes for displaying the build version 2018-11-17 20:44:10 +01:00
templates started test refactoring 2018-11-25 00:07:40 +01:00
utils begin user invitation 2018-08-23 15:33:20 +02:00
.gitignore init 2018-04-27 14:38:12 +02:00
LICENSE init 2018-04-27 14:38:12 +02:00
Makefile fix for token query 2018-11-16 16:23:25 +01:00
README.md Revert "remove is admin field" 2018-11-21 17:57:17 +01:00
THIRDPARTY updated readme and thirdparties 2018-11-20 11:30:08 +01:00
go-blog.conf started example for user interceptor 2018-11-02 13:49:53 +01:00
main.go fixes for displaying the build version 2018-11-17 20:44:10 +01:00

README.md

Go-Blog

Small sample open-source blog written in Go using markdown for writing articles and sites.

Prerequisites

  • SQLite3

Configuration

  • copy go-blog.conf into custom/ folder
  • edit custom/go-blog.conf to your needs

SQLite setup

  sqlite_file = /path/to/your/sqlite/database

Create user with administration rights

Create your first administrator account with create_user:

./createuser -admin -sqlite path_to_sqlite -username test -email test@example.com -displayname "Hello World" -password secret1234

Make sure -admin is set.

TODOs

  • Add and fix test
  • Database update tasks / simple query builder (v0.3)
  • Order possibilities in admin panel (v0.3)
  • Revisit Makefile (v0.3)
  • Review async mails
  • Review preview of articles and sites / error handling
  • Roles?

Licence

The MIT License (MIT)
Copyright (c) 2018 Lars Hoogestraat

Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.