Git Product home page Git Product logo

q739916537 / go-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaowas/go-blog

0.0 0.0 0.0 33.83 MB

Go Bbs 是一个基于 Beego 开发的可切换模板的 BBS 社交博客系统。它安装简单便捷,页面简介优美。前端是HTML+JS+CSS,不需要掌握一些前端技术栈也能轻松自定义页面。https://nihongdengxia.com/ http://clblog.club/ http://gooooooooogle.cn/

Home Page: http://go-bbs.com/

License: Apache License 2.0

Go 46.55% Shell 0.01% Dockerfile 0.01% VBA 18.80% PLSQL 0.04% CSS 9.93% SCSS 3.54% HTML 21.13%

go-blog's Introduction

Go Blog

一个基于Beego开发的社交商城博客系统

Go Blog Stargazers over time

GitHub stars GitHub forks GitHub license

go-bbs 官网 http://go-bbs.com

使用说明(非常重要)

  1. go-blog 最新版本为 v2.0.0
  2. 此仓库代码并非最新代码,但是tag中的二进制文件是最新版本
  3. 运行tag中的代码步骤:
    1. 下载tag的releases文件包(只有linux跟mac版本)并解压
    2. 创建一个配置文件,如 app.conf.example,配置好环境变量 BEEGO_CONFIG_PATH = '配置文件路径'
    3. 执行./go-bbs --install 安装数据库
    4. 最后执行 ./go-bbs 访问对应端口即可

前台演示站点(社区) https://nihongdengxia.com/ 陈立个人博客 http://clblog.club/ Goooooooogle 搜索摸鱼 http://gooooooooogle.cn/

image image

go-bbs 官网 http://go-bbs.com 前台演示站点(社区) https://nihongdengxia.com/

系统功能

系统功能

Install

方式1 docker 安装(推荐)

  1. 先安装docker以及docker-compose
  2. 把根目录下的docker-compose.yml赋值到你需要运行的Go Blog项目的目录下,执行docker-compose up -d.(会报找不到数据库的错误,忽略,在步骤3导入数据后就正常了)
  3. 登录docker启动的mysql,新建数据库go-blog,导入go-blog/database/blog-mysql.sql数据。
  4. 访问urlhttp://127.0.0.0:8080,后台urlhttp://127.0.0.0:8080/admin,默认账户:user,密码:123456

方式二 源码安装

  1. 把Go Blog项目拉到本地
https://github.com/1920853199/go-blog.git
  1. 新建数据库,导入数据库文件,数据库文件/database/blog.sql

  2. 修改项目配置信息

#conf/app.conf

appname = go-blog
httpport = 8088
runmode = dev
EnableAdmin = false
sessionon = true
url = 127.0.0.1:8088

[db]
dbType = mysql
dbUser = root
dbPass = root
dbHost = 127.0.0.1
dbPort = 3306
dbName = blog

[redis]
rHost = 127.0.0.1
rPort = 6379


  1. 在bo-blog 根目录下执行bee run ,访问 http://127.0.0.1:8888 即可

  2. 守护进程模式运行 可以了解PM2的相关信息,配置可查看start.sh 文件

  3. nginx代理示例

server {
        listen 80;
        server_name go-blog.cn;
        root    /home/data/go-blog;

        location ~ \.(txt|xml)$ {
                root /home/data/go-blog;
        }

        location / {
            proxy_pass http://127.0.0.1:8889;
            #proxy_redirect off;
            proxy_http_version    1.1;
            proxy_cache_bypass    $http_upgrade;
            proxy_set_header Upgrade            $http_upgrade;
            proxy_set_header Connection         "upgrade";
            proxy_set_header Host               $host;
            proxy_set_header X-Real-IP          $remote_addr;
            proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto  $scheme;
            proxy_set_header X-Forwarded-Host   $host;
            proxy_set_header X-Forwarded-Port   $server_port;
        }

        access_log    /home/wwwlogs/go-blog.access.log;
}

互动交流

与作者对话

该项目是利用业余时间进行开发的,开发思路主要是源于自己的项目积累及个人思考,如果您有更好的想法和建议请与我进行沟通,一起探讨,畅聊技术人生,相互学习,一起进步。我非常期待!下面是我的微信二维码(如果此项目对您提供了帮助也可以请作者喝杯咖啡 (* ̄︶ ̄),聊表心意,一起星巴克「续杯」~嘿嘿 ):

we-pay

END

感谢您关注此项目 : ),如果有好的想法欢迎 Issue or PR。

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.