naiba/solitudes: In those days when I feel solitude, there is writing to accompany me.
2019-04-01 00:20:38 Author: github.com(查看原文) 阅读量:211 收藏

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up

🚬 In those days when I feel solitude, there is writing to accompany me.

Permalink

Type Name Latest commit message Commit time
Failed to load latest commit information.
app/web ⚗️ show media files Feb 28, 2019
data ✏️ grammar Mar 3, 2019
resource 💄 css Mar 24, 2019
vendor ⬆️ dep update Mar 10, 2019
wengine memory usage profile Mar 13, 2019
x 🎉 build version Feb 27, 2019
.gitignore 🐛 ci error Feb 27, 2019
.travis.yml 🐛 ci test cover Feb 27, 2019
Dockerfile 🎉 build version Feb 27, 2019
Gopkg.lock ⬆️ dep update Mar 10, 2019
Gopkg.toml ⛄️ models Feb 20, 2019
LICENSE Initial commit Feb 19, 2019
README.md 🎨 Update edit article Mar 7, 2019
article.go 🎨 article TOC Mar 13, 2019
article_history.go 🎨 rebuild bleve data resolve #8 Mar 10, 2019
article_test.go 👍 full text search Feb 25, 2019
comment.go 🎨 sort article by updated_at close #5 Mar 9, 2019
config.go 👮 Anti spam Feb 25, 2019
const.go ⚡️ page load speed up resolve #7 Mar 10, 2019
safe_cache.go ⚡️ page load speed up resolve #7 Mar 10, 2019
solitudes.go 🐛 fix remove not empty dir Mar 10, 2019
user.go 😄 auth limit Feb 21, 2019

Go Report Card Build Status

🚬 In those days when I feel solitude, there is writing to accompany me.

Features

  • A died simple blog-engine
  • Easy to build a book
  • SEO friendly
  • Full text search
  • Article history

Quick start

  1. your postgres must enable uuid plugin

    CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
  2. create a data dir

  3. create config file path/to/data/conf.yml (example: data/conf.yml)

  4. deploy on docker

    docker run --name solitudes -p 8080:8080 -v /path/to/data:/solitudes/data naiba/solitudes
  5. open https://yourdomain/login to login Dashboard

Notice

Has three hacks in current revolution.

  • yanyiwu/gojieba#46 english word segmentation issue.
  • yanyiwu/gojieba dep ensure not include deps and dict dir.
  • yanyiwu/gojieba getCurrentFilePath func can't get running path

Thanks


文章来源: https://github.com/naiba/solitudes
如有侵权请联系:admin#unsafe.sh