/[LeafOK_CVS]/fenglin/README.md
ViewVC logotype

Diff of /fenglin/README.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Fri Apr 18 05:34:27 2025 UTC Revision 1.12 by sysadm, Thu Jan 8 03:18:39 2026 UTC
# Line 1  Line 1 
1  # LeafOK BBS  # LeafOK BBS
2    
3  Copyright (C) LeafOK.com, 2001-2025  Chinese version: [README.zh_CN.md](README.zh_CN.md)
4    
5  演示站点位于:https://www.fenglin.info/bbs/  ## Program Overview
6    
7  程序简介  **Development Language:** PHP (8.2) + MySQL (8.4)  
8  =================  **Platform:** Linux / Windows  
9  开发语言:PHP + MySQL    **License:** Source code released under GNU GPL license  
10  运行平台:Linux/Windows    
11  软件性质:源代码采用 GNU GPL 授权发布    **Features:**
12  功能说明:    - Web-based article browsing, posting, searching, and other basic functions
13      提供文章浏览、发表、查找等基本功能和其它各种实用功能,可开设多类别多版块,各版块分设讨论区、文摘区、精华区,并提供全面的版主管理支持。    - Support for multiple categories and sections, each with discussion areas, digest areas, and featured areas
14  可选功能:    - Comprehensive moderator management support
15      与telnet方式BBS兼容的被动/主动转信功能    - Optional Telnet access for login, article viewing, games, etc. (see [lbbs](https://github.com/leafok/lbbs) for details)
16      客户端论坛浏览器    
17    **Demo site:** https://fenglin.info/bbs/
18    
19  使用说明:  ## Installation and Usage Instructions
20  =================  
21  数据库结构位于 TODO/sql/db_stru.sql ,需先导入    ### 1. Database Setup
22  将 TODO/conf/ 目录下的文件复制到 conf 目录下,并修改    - Import the database structure from `TODO/sql/db_stru.sql`
23  在数据库中建立系统帐号、栏目、版块等  - *(Optional)* Import test data from `TODO/sql/sample_data.sql`
24  修改 lib/common.inc.php 文件(站点个性化配置)      - Test account: `sysop`
25  BBS程序位于 bbs 目录下      - Temporary password (must be changed upon login): `3anzHaNg`
26  管理程序位于 manage 目录下    
27  生成的精华区位于 gen_ex 目录下    ### 2. Configuration
28    - Copy files from `TODO/conf/` directory to `conf` directory (create if it doesn't exist)
29    - Modify the following files:
30  报告Bug/参与改进:    - Database connection: Edit `conf/db_conn.conf.php`
31  =================    - Email sending: Edit `conf/smtp.conf.php` (supports both SMTP and local sendmail)
32  由于本程序源代码采用 GNU GPL 授权发布,如果您发现任何错误或者愿意加入本BBS的开发,请与我们联系。    
33  E-mail: leaflet@leafok.com    ### 3. Site Customization
34    - Modify `lib/common.inc.php` for site-specific configurations
35    
36    ### 4. Directory Permissions
37    - Create directories (if they don't exist):
38      - `bbs/cache`
39      - `bbs/upload`
40      - `stat`
41    - Ensure the web server user has write permissions for:
42      - `bbs/cache`
43      - `bbs/upload`
44      - `gen_ex`
45      - `stat`
46    
47    ### 5. Account Creation
48    - Create administrator and initial accounts through the registration page
49    - *Note:* Involves multiple database tables; not recommended to create directly in the database
50    
51    ### 6. Database Setup (Additional)
52    - Add administrator accounts, categories, and sections in the database
53    - Relevant tables: `admin_config`, `section_class`, `section_config`
54    
55    ### 7. Management and Background Jobs
56    - Management programs are located in the `manage` directory
57    - Scheduled background tasks require adding to crontab
58    
59    ## Docker Users
60    
61    ### Build from Source
62    ```bash
63    docker compose up --build -d
64    ```
65    
66    ### Download from Docker Hub
67    ```bash
68    docker compose pull
69    ```
70    
71    ### Configuration
72    Modify or import configuration files in the container's `/var/www/html/conf` directory.
73    
74    ## Copyright Information
75    Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com>
76    
77    ## License
78    This program is free software; you can redistribute it and/or modify it under the terms of the [GNU General Public License](LICENSE) as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1