Go to file
Lars Hoogestraat b958367cfd Merge branch 'develop' 2018-12-14 19:58:42 +01:00
assets added arial to font-family 2018-12-13 16:15:12 +01:00
clt check for empty sqlite file 2018-12-13 16:38:28 +01:00
components improve file upload #1 2018-12-11 18:00:05 +01:00
controllers fix file test 2018-12-13 15:37:50 +01:00
examples removed fmt 2018-11-16 14:13:50 +01:00
middleware custom robots / favicon / css 2018-12-13 14:32:52 +01:00
models added mime type check 2018-12-13 09:59:54 +01:00
routers custom robots / favicon / css 2018-12-13 14:32:52 +01:00
settings fixed permissions for log file 2018-12-13 14:41:59 +01:00
templates custom robots / favicon / css 2018-12-13 14:32:52 +01:00
utils improve file upload #2 2018-12-12 17:52:32 +01:00
.gitignore makefile 2018-12-13 16:24:42 +01:00
LICENSE init 2018-04-27 14:38:12 +02:00
Makefile makefile 2018-12-13 16:24:42 +01:00
README.md check for empty sqlite file 2018-12-13 16:36:35 +01:00
THIRDPARTY updated readme and thirdparties 2018-11-20 11:30:08 +01:00
go-blog.conf config descriptions 2018-12-13 15:07:06 +01:00
main.go improve file upload #2 2018-12-12 17:52:32 +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 createuser:

./createuser -admin -sqlite /path/to/your/sqlite/database -username test -email test@example.com -displayname "Hello World" -password secret1234

Make sure -admin is set.

TODOs

  • Direct file upload over article add
  • Revisit Makefile
  • Review async mails

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.