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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?