Changes

Jump to navigation Jump to search
310 bytes added ,  18:00, 3 March 2010
no edit summary
Line 17: Line 17:  
  sudo -i -u activities
 
  sudo -i -u activities
    +
===Set up NFS mount points===
   −
===Set up NFS mount points===
   
Create directories
 
Create directories
 
  mkdir -p ~/files
 
  mkdir -p ~/files
Line 28: Line 28:  
  sunjammer.sugarlabs.org:/srv/nfs/activities/staging /srv/activities/staging nfs rsize=8192,wsize=8192,timeo=14,intr
 
  sunjammer.sugarlabs.org:/srv/nfs/activities/staging /srv/activities/staging nfs rsize=8192,wsize=8192,timeo=14,intr
   −
===First-time ASLO setup===
+
===Clone ASLO repository===
 +
 
 +
git clone git://git.sugarlabs.org/slo-activities/mainline.git .
 +
git checkout -b production production
 +
 
 +
==ASLO configuration==
    
Using ''~/aslo/config.php'' as template, setup ASLO settings in file ''~/site/app/config/config.php''. Template file was configured for ''dev'' environment, switch it to production by  setting ''SITE_STATE'' variable to ''production''.
 
Using ''~/aslo/config.php'' as template, setup ASLO settings in file ''~/site/app/config/config.php''. Template file was configured for ''dev'' environment, switch it to production by  setting ''SITE_STATE'' variable to ''production''.
Line 36: Line 41:  
  define('DEV', false);
 
  define('DEV', false);
 
  define('QUERY_CACHE', true);
 
  define('QUERY_CACHE', true);
 +
 +
All local configuration should happen in files
 +
~/site/app/config/config.php
 +
~/site/app/config/config-local.php
 +
 +
==Update ASLO repository==
 +
 +
git fetch
 +
git merge tags/production

Navigation menu