Difference between revisions of "InstallingAboutUsOnLinux"
Athar Hameed (talk | contribs) |
|||
| Line 5: | Line 5: | ||
== What (summary) == | == What (summary) == | ||
Create instructions and mechanisms for interested people to install [[AboutUs]] on [[Linux]] machines. | Create instructions and mechanisms for interested people to install [[AboutUs]] on [[Linux]] machines. | ||
| + | |||
== Why this is important == | == Why this is important == | ||
| Line 69: | Line 70: | ||
==Commands== | ==Commands== | ||
===Mysql=== | ===Mysql=== | ||
| + | |||
[[HowToUseSSHKeys]] | [[HowToUseSSHKeys]] | ||
| + | <pre> | ||
ssh-keygen -t rsa | ssh-keygen -t rsa | ||
cd ~/.ssh/ | cd ~/.ssh/ | ||
| Line 78: | Line 81: | ||
exit | exit | ||
ssh-agent | ssh-agent | ||
| + | </pre> | ||
| − | + | <pre> | |
mysql -u root -p | mysql -u root -p | ||
create database compost_test | create database compost_test | ||
| Line 91: | Line 95: | ||
grant all on *.* to 'compost'@'localhost'; | grant all on *.* to 'compost'@'localhost'; | ||
create database aboutusbot; | create database aboutusbot; | ||
| + | </pre> | ||
| − | + | <pre> | |
| − | |||
cd compost | cd compost | ||
rake test | rake test | ||
| Line 103: | Line 107: | ||
mysql aboutusbot_test < bot.sql | mysql aboutusbot_test < bot.sql | ||
RAILS_ENV=test rake test | RAILS_ENV=test rake test | ||
| − | + | </pre> | |
[[Category:DevelopmentTeamProject]] | [[Category:DevelopmentTeamProject]] | ||
</noinclude> | </noinclude> | ||
Revision as of 06:16, 15 August 2007
See also InstallingAboutUsOnOSX
Contents
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
Apache/PHP/MySQL
- Install Apache 2.0+
- Install PHP 5+
- Install MySQL 5.0.22 Ver 8.41
- Install Ruby
- Install gem
OpenId Installation
sudo pear install --alldeps --force http://www.openidenabled.com/resources/downloads/php-openid/pear/Auth_OpenID-1.2.2.tgz sudo pear install gmp sudo pear install http://www.openidenabled.com/resources/downloads/php-yadis/pear/Services_Yadis-1.0.2.tgz
Gitting the AboutUs repository
git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus
Create Database Users and Settings
create user = wiki password = wiki database = wiki_dev, aboutusbot, wiki_test cd $AboutUsPath/aboutus mysql -u wiki -p wiki_dev
