Source /

Filename Size Date modified Message
128 B
83 B
1.8 KB
9.5 KB
682 B
1.5 KB

* 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://
    * git clone git://

    * cd tokyo-cabinet/
      sudo make install

    * cd tokyo-tyrant/
      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.


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 directory, run: paster serve --reload production.simple.ini

3.  The more robust way of running 6diagrams server:
    On directory, run: paster servers start
    Above command means:
    Starts 6diagrams servers to be load balanced behind nginx.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.