Coder Social home page Coder Social logo

ghkyle / pybbs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atjiu/pybbs

0.0 2.0 0.0 32.69 MB

朋也社区是用Java语言编写的社区(论坛)系统.

Home Page: http://bbs.tomoya.cn

Java 31.78% HTML 0.10% FreeMarker 13.48% CSS 44.72% JavaScript 9.92%

pybbs's Introduction

非商业使用:请保留页面底部的 powered by 朋也社区

商业使用:请联系朋也

使用技术

  • JFinal
  • freemarker
  • mysql
  • bootstrap
  • ehcache

特性

  • 社区兼容性(IE9+)
  • 不用session,选用cookie,为了集群方便
  • 大量使用了缓存(ehcache)减轻服务器压力(后续还会改成redis作为缓存,集群更加方便)
  • 不做本地账户,不会出现用户密码泄露问题(目前就Github登录,后续可以陆续增加其他第三方登录)
  • 权限配置简单,轻松管理用户
  • 使用textarea作为编辑器,配置快捷键,书写更方便,ie11+/chrome/firefox/safari 还支持截图粘贴上传

如何开始

服务器环境部署

  • git clone https://github.com/liygheart/pybbs.git
  • pybbs.sql脚本在mysql数据库里运行,创建pybbs数据库
  • 修改src/main/resources下的config.properties文件里的配置信息
  • 使用maven命令:mvn clean package,等待编译打包,成功后打开target文件夹,会有一个pybbs.war
  • 重命名 pybbs.warROOT.war
  • 下载tomcat,解压
  • 删除 tomcat/webapp 下的所有文件/文件夹
  • 将war包放到tomcat/webapp下,启动tomcat(./bin/startup.sh)
  • 浏览器访问http://localhost:8080/

开发环境部署

  • git clone https://github.com/liygheart/pybbs.git
  • 推荐使用 IDEA 打开项目
  • 运行AppConfig.java类里的main方法
  • 浏览器访问http://localhost:8080/

碰到问题怎么办?

  1. http://bbs.tomoya.cn 上提问答
  2. 在Github上提 Issues
  3. 提问题的时候请将问题重现步骤描述清楚

贡献

欢迎大家提pr

License

MIT

pybbs's People

Contributors

gitter-badger avatar

Watchers

James Cloos avatar GHKyle 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.