同步操作将从 outman/birdbbs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#BirdBBS
PHP Simple BBS V2EX(like), based on YII framework 1.1.14.
##Requirements
##Install
auto install
git clone project to your system
config your web server , web root dir is birdbbs/www/
type http://www.yourname.com/install.php
in browser to install
login to ADMIN panel http://www.yourname.com/index.php?r=admin/default config your system
manually
git clone project to your system
config your web server , web root dir is birdbbs/www/
load all *.sql (birdbbs/www/protected/data/
) file to mysql server. (notice table prefix)
make file config.php to dir birdbbs/www/protected/config/config.php
login to ADMIN panel http://www.yourname.com/index.php?r=admin/default config your system
config.php example
$CONF = array();
$CONF['db'] = array(
'connectionString' => 'mysql:host=127.0.0.1;dbname=birdbbs;port=3306',
'emulatePrepare' => true,
'username' => 'root',
'password' => 'admin',
'charset' => 'utf8',
'tablePrefix' => 'bbs_',
'schemaCachingDuration' => 3600
);
$CONF['params'] = array(
'adminEmail'=>'xbugs@qq.com',
'mail' => array(
'noreply' => 'noreply@buxiangshuo.cn',
'smtp' => 'smtp.exmail.qq.com',
'password' => 'test',
));
nginx example
server {
set $htdocs /Users/outman/Repositories/birdbbs/www;
listen 80;
server_name dev.birdbbs.com;
location / {
root $htdocs;
autoindex on;
index index.php index.html;
if (!-e $request_filename){
rewrite (.*) /index.php?r=$1;
}
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $htdocs$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
}
}
##Online demo
##Contact Us & Commercial Service
##Github
##GitOschina
##Screen Snapshot
##License
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。