Confirmed users
920
edits
LesOrchard (talk | contribs) |
LesOrchard (talk | contribs) |
||
Line 36: | Line 36: | ||
* if needed, grab the mysql dump from stage | * if needed, grab the mysql dump from stage | ||
= Mac OS X installation | = Mac OS X installation of CVS version = | ||
# Install MacPorts (http://macports.org/) | # Install MacPorts (http://macports.org/) | ||
Line 45: | Line 43: | ||
# ...or wherever you keep dev stuff. | # ...or wherever you keep dev stuff. | ||
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d | cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d graphs-cvs mozilla/webtools/new-graph | ||
ln -s `pwd`/graphs-cvs ~/Sites/ | |||
sudo port install mysql5 | sudo port install mysql5 | ||
# follow directions and complete installation | # follow directions and complete installation | ||
echo "create database o_graphs; grant all privileges on o_graphs.* to o@'localhost' identified by 'o';" | mysql5 -uroot | echo "create database o_graphs; grant all privileges on o_graphs.* to o@'localhost' identified by 'o';" | mysql5 -uroot | ||
mysql5 -uroot o_graphs < sql/schema.sql | mysql5 -uroot o_graphs < sql/schema.sql | ||
Line 76: | Line 67: | ||
# Uncomment line 383: | # Uncomment line 383: | ||
# AddHandler cgi-script .cgi | # AddHandler cgi-script .cgi | ||
# Be sure to disable Apple's apache | # Be sure to disable Apple's apache | ||
Line 90: | Line 72: | ||
sudo /opt/local/apache2/bin/apachectl start | sudo /opt/local/apache2/bin/apachectl start | ||
mkdir data | |||
curl http://build-graphs.mozilla.org/db/dhtml/bl-bldlnx01_fx-linux-tbox-head > data/sample1.txt | |||
chmod +x utils/import.py | |||
./utils/import.py foo bar baz quux < data/sample1.txt | |||
# visit http://localhost/~username/graphs-cvs/graph.html | |||
# visit http://localhost/~ | |||