A blog web App powered by golang, document at https://gosense.netroby.com the author blog was an example
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

readme.md

GoSense

Join the chat at https://gitter.im/netroby/gosense

Build Status

Document new site: https://gosense.netroby.com

Gosense is a blog web app powered by golang, see demo : https://www.netroby.com

Using MySQL as database to storage data. Using Amazon S3 to handle file uploads.

Feature

  1. AWS S3 file upload storage
  2. RSS output
  3. Powered by golang
  4. Builtin groupcache, amazing fast
  5. Less cpu, memory usage than (wordpress etc)

Install

Before you start building. you may want to set proxy . or you will failed to build your gosense.

just rename .env.dist to .env and edit it ,change the http_proxy and https_proxy to your proxy server ip.

First clone this repository to you pc/mac/laptop.

git clone https://github.com/netroby/gosense.git

The vol directory contains templates, static resources(css, js), It will be mount by docker

Then rename config.toml.dist to vol/config.toml, and change admin password and aws sdk key, secret

You need following software installed to run gosense

  • docker-engine 17.06+
  • docker-compose 1.9+

We need them to build and run gosense

And you must install docker-engine and docker-compose, We using docker to build and running gosense.

We tested gosense with golang 1.5.* , 1.6.., 1.7. 1.8+

if you installed docker-engine and docker, please run

docker-compose up --build

Once you docker up and running, you may access demo via http://127.0.0.1:18080

To login, you need visit http://127.0.0.1:18080/admin/login (The password will be found in config.toml file)

To create blog , you can visit http://127.0.0.1:18080/admin/addblog

Remember change 127.0.0.1 to your docker hosting machine real ip address.

License

We using MIT License, so feel free to change anything as you want.

Donate me please

Your donate will help me improve the code quality. I need money to pay for food, water.

Paypal donate

https://paypal.me/netroby

Bitcoin donate

136MYemy5QmmBPLBLr1GHZfkES7CsoG4Qh

Alipay donate

Scan QRCode donate me via Alipay

Scan QRCode donate me via Alipay

News

2017-08-17

2017-08-13

  • Fix bugs in docker-compose, now you can start gosense via docker-compose up --build

2016-08-24

  • Now you can run gosense using docker-compose

2015-10-31

  • Add Cache for list and view page, now performance got better

2015-10-30

  • Now gosense handle time better than before
  • The search by keyword now working correct

2015-10-29

  • The docker scripts now working perfect, you can easier deploy gosense

2015-10-28

  • Fix bug in add blog
  • Now we can add, edit blog
  • Fix SQL load