Giter Club home page Giter Club logo

inote's Introduction

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

inote's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.