

GitHub - s-gv/orangeforum: A light-weight forum
source link: https://github.com/s-gv/orangeforum
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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, admin
s control which users are designated as mod
s.
Dependencies
- Go 1.16 (only for compiling)
- Postgres 9.5 or newer
Recommend
-
45
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
-
54
README.md ply Documentation and language reference is available at wkz.github.io/ply. A light-weight dyn...
-
15
Light-weight serialization framework In my very first YouTube Channel video I
-
9
Light-weight RPC framework During my latest mentoring session with coworkers I was asked to explain how modern RPC frameworks work under the hood. What bet...
-
12
A light-weight module that brings Fetch API to Node.js. Consider supporting us on our Open Collective: You might be looking f...
-
11
next-head-seo A simple and light-weight SEO plugin for Next.js applications. < 1kb gzipped
-
8
GravityLight has been replaced by nowlight In 2019 we stopped manufacturing GravityLight to focus on a new product called nowlight. Pull...
-
10
Flashy features in a muted look — Razer’s new wireless mouse offers light weight, tasteful look Lefty-friendly design, RGB ditched in favor of weight reduction. ...
-
9
Minimal DashboardA light weight and minimal dashboard for Wordpress websitesHere's a free Minimal Dashboard theme for your WordPress website -🔥 Simple🔥 Light-weigh...
-
6
Implementing a Fast and Light Weight Geo Lookup ServiceFast Geo lookup of city and zip code for given latitude/longitudeProblem description
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK