Difference between revisions of "InstallingAboutUsOnLinux"

(Instructions)
Line 32: Line 32:
 
===Gitting the AboutUs repository===
 
===Gitting the AboutUs repository===
 
  git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus
 
  git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus
 
  
 
===Apache Configuration===
 
svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk $AboutUsPath/aboutus-config
 
vim $AboutUsPath/aboutus-config/LocalSettings.php
 
# update $wgEmergencyContact, $wgPasswordSender, $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix, $wgDBtype
 
cp $AboutUsPath/aboutus-config/LocalSettings.php $AboutUsPath/aboutus/wiki/
 
cd $AboutUsPath/aboutus-config/apache
 
vim mediawiki.conf
 
# update DocumentRoot and Directory, the value should be ... $AboutUsPath/aboutus/wiki/
 
cp mediawiki.conf /var/www/conf/sites/
 
cp mediawiki.conf /etc/apache2/sites-enabled
 
 
==Getting the AboutUs Dev Mediawiki running==
 
svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk aboutus-config
 
  
 
==Commands==
 
==Commands==
===Mysql===
 
 
 
[[HowToUseSSHKeys]]
 
[[HowToUseSSHKeys]]
 
<pre>
 
<pre>
Line 63: Line 46:
 
ssh-agent
 
ssh-agent
 
</pre>
 
</pre>
 
<pre>
 
mysql -u root -p
 
create database compost_test
 
create database compost_dev
 
create database aboutusbot_test
 
create database wiki_dev
 
create database wiki_test
 
grant all on *.* to 'arif'@'localhost';
 
grant all on *.* to 'compost'@'localhost' identified by 'default';
 
 
grant all on *.* to 'compost'@'localhost';
 
create database aboutusbot;
 
</pre>
 
 
 
<pre>
 
cd compost
 
rake test
 
rake db:migrate
 
rake db:test:prepare
 
rake test
 
mysqldump aboutusbot > bot.sql
 
mysql aboutusbot_test < bot.sql
 
RAILS_ENV=test rake test
 
</pre>
 
 
  
 
[[Category:DevelopmentTeamProject]]
 
[[Category:DevelopmentTeamProject]]
 
</noinclude>
 
</noinclude>

Revision as of 07:43, 23 January 2008

DevelopmentTeam

See also InstallingAboutUsOnOSX

What (summary)

Create instructions and mechanisms for interested people to install AboutUs on Linux machines.

Why this is important

  • We want to reach to the open source community so that more interested people can become part of the DevelopmentTeam
  • We want to on board new hires as seamlessly as possible. New hires often have problems getting their hands ready on the AboutUs version of MediaWiki

DoneDone

  • The git repository of the AboutUs version of MediaWiki is publicly available.
  • We have instructions set so that sophisticated new development team member can install AboutUs version of MediaWiki

Next

  • Figure out where the code is that connects to the database and make sure that we are succeeding.
  • Attach a GPL to our source
  • Expose our GIT repository
  • Further develop our instructions.

Instructions

  1. Install Packages
  2. Install and configure GIT
  3. Install Dev Tools
  4. Install Ruby and Gems
  5. Install and configure Apache
  6. Install and configure Mysql
  7. Install and configure PHP
  8. Configure VIM

Gitting the AboutUs repository

git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus


Commands

HowToUseSSHKeys

ssh-keygen -t rsa
cd ~/.ssh/
scp id_rsa nimbus:

ssh nimbus
cp id_rsa .ssh/authorized_keys
exit
ssh-agent



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