Difference between revisions of "InstallingAboutUsOnOSX"

(Configure the app)
(Configure the app)
Line 55: Line 55:
 
   create database compostus_wiki_dev;
 
   create database compostus_wiki_dev;
 
   grant all on *.* to wiki@localhost identified by 'wiki';
 
   grant all on *.* to wiki@localhost identified by 'wiki';
 +
 +
* install sysop user
 +
  mysql -u root compostus_wiki_dev < ../sysop_user.sql
 +
 
* run rake
 
* run rake
 
   cd /www/aboutus/compostus/compost
 
   cd /www/aboutus/compostus/compost
 
   rake db:migrate
 
   rake db:migrate
 
   rake
 
   rake

Revision as of 20:25, 2 February 2010

Xcode tools

Git

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
 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

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 


Retrieved from "http://aboutus.com/index.php?title=InstallingAboutUsOnOSX&oldid=20089824"