command
module
Version:
v0.0.0-...-72af3ba
Opens a new window with list of versions in this module.
Published: Nov 9, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
iNote是一款开源,免费,简洁的单页博客
iNote是在beego(golang语言)&bootstrap等开源项目基础之上开发的
功能简介
- 前后端完全分离
- 响应式布局
- 内嵌markdown编辑器
- URL支持hash(#)+id 文章导航
- 支持更换首页banner大图背景
- 文章功能
- 文章内容照片墙预览
- 文章标签功能
- 文章留言功能
- 留言回复功能
- Web后台管理
Linux环境编译安装(OSX,Win环境类似)
-
安装GO
参考install golang
-
安装mysql
参考install mysql
-
安装beego, bee工具(可选), mysql驱动
go get github.com/astaxie/beego
go get github.com/beego/bee
go get github.com/go-sql-driver/mysql
-
安装iNote
go get github.com/igordonshaw/inote
-
新建数据库inote并导入初始化脚本($GOPATH/src/github.com/igordonshaw/inote/dbinit/inote.sql)
-
按照实际情况修改iNote配置文件中的程序运行模式、监听端口及数据库参数
###################### 程序基本配置 ############################
# 程序运行实例名称
appname = inote
# 程序运行模式 dev:开发模式 prod:产品模式
runmode = dev
# 程序运行监听端口
httpport = 8080
# MYSQL地址
dbhost = localhost
# MYSQL端口
dbport = 3306
# MYSQL用户名
dbuser = root
# MYSQL密码
dbpassword = root
# MYSQL数据库名称
dbname = inote
-
编译iNote
cd $GOPATH/src/github.com/igordonshaw/inote
go build
-
运行iNote(nohup模式)
nohup ./inote &
-
访问iNote
首页:localhost:8080
后台登录:localhost:8080/login
默认密码:admin
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.