orangeforum

A light-weight forum

  • 所有者: s-gv/orangeforum
  • 平台:
  • 许可证: BSD 3-Clause "New" or "Revised" License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Orange Forum

Orange Forum is an easy to deploy forum that has minimal dependencies and uses very little javascript. It is written is golang and a compiled binary is available for linux. Try the latest version hosted here. Please contact info@goodoldweb.com if you have any questions or want support.

How to use

By default, sqlite is used, so it's easy to get started.
Download the binary and migrate the database with:

./orangeforum -migrate

Create an admin:

./orangeforum -createadmin

Finally, start the server:

./orangeforum

Notes

There are three types of users in Orangeforum: admin, mod, and regular users. Admins are the most previleged and can do anything. Mods can edit posts and ban users.

Dependencies

  • Go 1.8 (only for compiling)
  • Postgres 9.5 (or use embedded sqlite3)

Options

  • -addr <port>: Use ./orangeforum -addr 8086 to listen on port 8086.
  • -dbdriver <db> and -dsn <data_source_name>: PostgreSQL and SQLite are supported. SQLite is the default driver.

To use postgres, run ./orangeforum -dbdriver postgres -dsn postgres://pguser:pgpasswd@localhost/orangeforum

To save an sqlite db at a different location, run ./orangeforum -dsn path/to/myforum.db.

Commands

  • -help: Show a list of all commands and options.
  • -migrate: Migrate the database. Run this once after updating the orangeforum binary (or when starting afresh).
  • -createadmin: Create an admin.
  • -createuser: Create a new user with no special privileges.
  • -changepasswd: Change password of a user.
  • -deletesessions: Drop all sessions and log out all users.

主要指标

概览
名称与所有者s-gv/orangeforum
主编程语言Go
编程语言Go (语言数: 5)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2017-05-24 12:08:11
推送于2024-03-12 15:17:43
最后一次提交2023-06-14 17:25:23
发布数14
最新版本名称v.2.30 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数441
关注者数8
派生数27
提交数99
已启用问题?
问题数137
打开的问题数44
拉请求数19
打开的拉请求数5
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?