Difference between revisions of "InstallingAboutUsOnOSX"
Line 13: | Line 13: | ||
Download and install. Make sure you get version 5.0! | Download and install. Make sure you get version 5.0! | ||
* http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg | * http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Ruby== | ==Ruby== | ||
Download and install version 1.8.7p249 | Download and install version 1.8.7p249 | ||
Line 47: | Line 39: | ||
sudo port install gd2 | sudo port install gd2 | ||
gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config | gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config | ||
+ | |||
+ | ==AboutUs repos== | ||
mkdir -p /www/aboutus ; | mkdir -p /www/aboutus ; | ||
cd /www/aboutus | cd /www/aboutus | ||
Line 54: | Line 48: | ||
gem install geminstaller | gem install geminstaller | ||
geminstaller | geminstaller | ||
+ | |||
+ | |||
+ | ==Cassandra== | ||
+ | mkdir -p /www/compile | ||
+ | cd /www/compile | ||
+ | wget http://mirror.its.uidaho.edu/pub/apache/incubator/cassandra/0.5.0/apache-cassandra-incubating-0.5.0-bin.tar.gz | ||
+ | tar xvf apache-cassandra-incubating-0.5.0-bin.tar.gz | ||
+ | mv apache-cassandra-incubating-0.5.0 /www/cassandra | ||
+ | Running: | ||
+ | cd /www/cassandra | ||
+ | ./bin/cassandra | ||
==Configure the app== | ==Configure the app== |
Revision as of 22:11, 4 February 2010
Contents
Xcode tools
- Available on OS X install DVD or from http://developer.apple.com/tools/xcode/
Git
- Download binary from http://code.google.com/p/git-osx-installer/downloads/list?can=3
- Verify that git functions.
MacPorts
Download and install:
MySQL
Download and install. Make sure you get version 5.0!
Ruby
Download and install version 1.8.7p249
Build:
./configure --prefix=/www make make install
(edit .profile like so:)
export PATH=/www/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:$PATH
RubyGems
Download and install version 1.3.5
ruby setup.rb
Misc. Libraries
Run these commands:
sudo port install freeimage sudo port install gd2 gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
AboutUs repos
mkdir -p /www/aboutus ; cd /www/aboutus git clone :AboutUs/compostus.git git clone :AboutUs/electric_sheep.git cd /www/aboutus/compostus/compost gem install geminstaller geminstaller
Cassandra
mkdir -p /www/compile cd /www/compile wget http://mirror.its.uidaho.edu/pub/apache/incubator/cassandra/0.5.0/apache-cassandra-incubating-0.5.0-bin.tar.gz tar xvf apache-cassandra-incubating-0.5.0-bin.tar.gz mv apache-cassandra-incubating-0.5.0 /www/cassandra
Running:
cd /www/cassandra ./bin/cassandra
Configure the app
- create databases
mysql -u root create database compostus_wiki_test; create database compostus_wiki_dev; grant all on *.* to wiki@localhost identified by 'wiki';
- install sysop user
mysql -u root compostus_wiki_dev