inote

command module
v0.0.0-...-72af3ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2016 License: MIT Imports: 3 Imported by: 0

README

iNote是一款开源,免费,简洁的单页博客

iNote是在beego(golang语言)&bootstrap等开源项目基础之上开发的

功能简介

  • 前后端完全分离
  • 响应式布局
  • 内嵌markdown编辑器
  • URL支持hash(#)+id 文章导航
  • 支持更换首页banner大图背景
  • 文章功能
  • 文章内容照片墙预览
  • 文章标签功能
  • 文章留言功能
  • 留言回复功能
  • Web后台管理

Linux环境编译安装(OSX,Win环境类似)

  1. 安装GO 参考install golang

  2. 安装mysql 参考install mysql

  3. 安装beego, bee工具(可选), mysql驱动
    go get github.com/astaxie/beego
    go get github.com/beego/bee
    go get github.com/go-sql-driver/mysql

  4. 安装iNote
    go get github.com/igordonshaw/inote

  5. 新建数据库inote并导入初始化脚本($GOPATH/src/github.com/igordonshaw/inote/dbinit/inote.sql)

  6. 按照实际情况修改iNote配置文件中的程序运行模式、监听端口及数据库参数
    ###################### 程序基本配置 ############################

     # 程序运行实例名称
     appname = inote
    
     # 程序运行模式  dev:开发模式  prod:产品模式
     runmode = dev
    
     # 程序运行监听端口
     httpport = 8080
    
     # MYSQL地址
     dbhost = localhost
    
     # MYSQL端口
     dbport = 3306
    
     # MYSQL用户名
     dbuser = root
    
     # MYSQL密码
     dbpassword = root
    
     # MYSQL数据库名称
     dbname = inote
    
  7. 编译iNote
    cd $GOPATH/src/github.com/igordonshaw/inote
    go build

  8. 运行iNote(nohup模式)
    nohup ./inote &

  9. 访问iNote
    首页:localhost:8080
    后台登录:localhost:8080/login
    默认密码:admin

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL