s-gv/orangeforum
关于
轻量级论坛。
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Orange Forum
Orange Forum is an easy to deploy forum that has minimal dependencies (only Postgres) and uses almost no javascript. It is written in golang and a compiled binary is available for linux. Try the latest version hosted at https://community.goodoldweb.com/. Please contact [email protected] if you have any questions or want support.
How to use
Install PostgreSQL and create a database and user using the psql command:
CREATE DATABASE testdb;
CREATE USER dbuser WITH PASSWORD 'dbpass';
ALTER ROLE dbuser SET client_encoding TO 'utf8';
ALTER ROLE dbuser SET default_transaction_isolation TO 'read committed';
ALTER ROLE dbuser SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE testdb TO dbuser;
Download the Orange Forum binary and migrate the database with:
./orangeforum -migrate
Create a domain (example: community.goodoldweb.com):
./orangeforum -createdomain
Create an admin:
./orangeforum -createsuperuser
Enter the SMTP server details (optional):
./orangeforum -setsmtp
Finally, start the server (don't forget to change the secret key!):
SECRET_KEY=s6JM1e8JTAphtKNR2y27XA8kkAaXOSYB ORANGEFORUM_DSN="postgres://dbuser:dbpass@localhost:5432/testdb" ./orangeforum -alsologtostderr
Goto http://localhost:9123/forums/community.goodoldweb.com in your browser. If you have setup DNS, you can directly go to http://community.goodoldweb.com and skip the /forums/community.goodoldweb.com part of the path. A single instance of Orange Forum can support multiple domains.
Notes
There are two types of privileged users in orangeforum: admin, and mod. Both can edit/delete/close posts and ban users. In addition to these privileges, admins control which users are designated as mods.
Dependencies
- Go 1.16 (only for compiling)
- Postgres 9.5 or newer
探索相关项目
加载中…