Perfomatic/Installation

From MozillaWiki
Jump to navigation Jump to search

Get the Code

Server Requirements

  • Python 2.?
  • Apache 2.x + mod_python
  • mod_rewrite
  • MySQL 5.x
  • memcached (someday)

Set Up Database

Configure Application

  • DB config?
  • Path info?
  • Apache
    • Set vhost dir to the root hg directory.
    • set cgi-bin to hgroot/server

Creating Test Data

  • Link to script to populate test data and instructions on how to use it
  • Check this in to Hg
  • Provide seed data (maybe a default .csv with random info)

FAQ

  • How do we get the right version of pysqlite2 off of fink for OSX? (use MySQL?)
  • Installing the required python MySQL packages is almost impossible (still working on it (Ryan))

Build Graph Stage Server

  • For reference we can look at bm-buildgraph01
  • ip: 10.2.74.15
  • /var/www/html/graphs
  • /var/www/html/graphs/g2
  • if needed, grab the mysql dump from stage