Activity Library/Devel/Installing: Difference between revisions
No edit summary |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
* A.m.o is written in cake-php (yet another web framework) | * A.m.o is written in cake-php (yet another web framework) | ||
== | == Sources == | ||
http://git.sugarlabs.org/projects/slo-activities | |||
Branches structure: | |||
* ''master'' branch, last ASLO codebase | |||
* ''master-theme'' rebased to ''master'' branch, last ASLO codebase with sugar theme | |||
* ''v<version>'' branch, released ASLO version | |||
* ''v<version>-theme'' rebased to ''v<version>'' branch, released ASLO version with sugar theme | |||
* ''production'' tag to last stable branch | |||
== Install server == | |||
'''NOTE''' The followed instructions tested on Ubuntu 9.04(Jaunty). | '''NOTE''' The followed instructions tested on Ubuntu 9.04(Jaunty). | ||
| Line 33: | Line 44: | ||
git-clone git://git.sugarlabs.org/slo-activities/mainline.git /var/www | git-clone git://git.sugarlabs.org/slo-activities/mainline.git /var/www | ||
Fetch | Fetch external dependencies: | ||
cd /var/www/site/vendors/ | cd /var/www/site/vendors/ | ||
svn co http://svn.mozilla.org/libs/product-details | svn co http://svn.mozilla.org/libs/product-details | ||
svn co http://svn.mozilla.org/libs/fizzypop.mozdev fizzypop | |||
svn co http://svn.mozilla.org/libs/phorms | |||
svn co http://svn.mozilla.org/libs/zxtm-api | |||
== Set up server == | == Set up server == | ||
| Line 42: | Line 56: | ||
DocumentRoot /var/www/site/app/webroot | DocumentRoot /var/www/site/app/webroot | ||
<Directory /var/www/>AllowOverride All</Directory> | <Directory /var/www/>AllowOverride All</Directory> | ||
Enable all apache mods. | |||
cd /etc/apache2/mods-enabled | |||
ln -s ../mods-available/* . | |||
Setup mysql(you need to enter mysql root password for these commands). | Setup mysql(you need to enter mysql root password for these commands). | ||