6diagrams / 6diagrams.org (http://6diagrams.com/6diagrams.org/)

Re-innovates forum software. Existing forum software feels dated and lag behind the times, while social sites such as Reddit, Hacker News, Digg, and Delicious are pushing the boundaries. 6diagrams takes inspiration from those social sites and tries to bring some of the innovations back to forum community.

View at rev
6diagrams.org /
filename size last modified message
server_conf  
six_diagrams  
.hgignore 128 B 4 months ago remove non-existing paster commands
MANIFEST.in 83 B 5 months ago Initial import of the old Blonk files
README.txt 1.8 KB 4 months ago updated readme
ez_setup.py 9.5 KB 5 months ago Initial import of the old Blonk files
setup.cfg 682 B 5 months ago Initial import of the old Blonk files
setup.py 1.5 KB 3 months ago Implemented read-only. Cleaned unused controllers

README

Dependencies
============

* Pylons 0.9.7
* mysql-python
* SqlAlchemy 0.5.3
* BeautifulSoup
* python-cjson


Installation and Setup
======================

1.  Install Tokyo Cabinet and Tyrant:

    * git clone git://github.com/etrepum/tokyo-cabinet.git
    * git clone git://github.com/etrepum/tokyo-tyrant.git

    * cd tokyo-cabinet/
      ./configure
      make
      sudo make install

    * cd tokyo-tyrant/
      ./configure
      make
      sudo make install

2.  Configure your server:

    * sudo apt-get install python-setuptools

    * sudo apt-get install python-cjson

3.  Configure 6diagrams:

    * Go to 6diagrams root path.

    * cp six_diagrams/config/development.ini.example development.ini
      cp six_diagrams/config/test.ini.example test.ini
      cp six_diagrams/config/production.ini.example production.ini
      cp six_diagrams/config/production.simple.ini.example production.simple.ini

    * sudo easy_install .

    * Inside MySQL, execute this query:
    create database six_diagrams

    * paster mysql development/test/production create
    This command will create mysql database tables
    (Type paster for list of full commands)

    * paster populator production
    This command will create a main Forum object
    and super user account.


Running
=======

1.  It is recommended to run 6diagrams behind nginx.
    * sudo apt-get install nginx
    
    * Starts nginx with given config file:
    (You can tweak the config file to your liking)
    sudo nginx -c six_diagrams/server_conf/nginx.simple.conf


2.  The simple way of running 6diagrams server:
    On 6diagrams.org directory, run: paster serve --reload production.simple.ini

3.  The more robust way of running 6diagrams server:
    On 6diagrams.org directory, run: paster servers start
    
    Above command means:
    Starts 6diagrams servers to be load balanced behind nginx.