Coder Social home page Coder Social logo

birdbbs's Introduction

#BirdBBS

PHP Simple BBS V2EX(like), based on YII framework 1.1.14.

##Requirements

  • MySQL 5.5
  • PHP 5.3 (with fileinfo module default)
  • YII Framework1.1.14's requirements

##Install

auto install

  1. git clone project to your system

  2. config your web server , web root dir is birdbbs/www/

  3. type http://www.yourname.com/install.php in browser to install

  4. login to ADMIN panel http://www.yourname.com/index.php?r=admin/default config your system

manually

  1. git clone project to your system

  2. config your web server , web root dir is birdbbs/www/

  3. load all *.sql (birdbbs/www/protected/data/) file to mysql server. (notice table prefix)

  4. make file config.php to dir birdbbs/www/protected/config/config.php

  5. 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'=>'[email protected]',
    'mail' => array(
      'noreply' => '[email protected]',
      'smtp' => 'smtp.exmail.qq.com',
      'password' => 'test',
    ),
    // third part login bind
    // sina weibo.com, remove comment
    // 'sina' => array(
    //    'appKey' => 'xxxxxxx',
    //    'appSecrectKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    //    'callbackUrl' => 'http://yourhoust.com/index.php?r=callback/sina',
    //),

);

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

http://bbs.buxiangshuo.cn

##Contact Us & Commercial Service

[email protected]

##Github

https://github.com/outman/birdbbs

##GitOschina

http://git.oschina.net/outman/birdbbs

##Screen Snapshot 系统安装 系统前台 系统后台

##License

MIT

birdbbs's People

Contributors

outman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.