Changes

Jump to navigation Jump to search
228 bytes added ,  00:52, 27 July 2016
Update to 2016 reality
Line 2: Line 2:  
== Description ==
 
== Description ==
   −
NOTE: this page describes the forthcoming web site, currently available at http://www-devel.sugarlabs.org
+
The SugarLabs front page.  
   −
The SugarLabs front page. Managed with the Drupal CMS, it will contain both static articles describing the project, and dynamic publications such as:
+
Managed with the Jekyll CMS, it contains static articles describing the project.
 
  −
* Planet
  −
** Managed with the UDplanet plugin, it allows registered users to set their own feeds
  −
* Project news
  −
* Forum (connected to the mailing lists)
      
== Hostnames ==
 
== Hostnames ==
   −
* http://www-devel.sugarlabs.org/
+
* http://www.sugarlabs.org
    
== Hosted on ==
 
== Hosted on ==
    
[[Machine/sunjammer]]
 
[[Machine/sunjammer]]
      
== Administrative contact ==
 
== Administrative contact ==
webmaster AT sugarlabs DOT org
      +
marketing AT sugarlabs DOT org
    
== Sysadmins ==
 
== Sysadmins ==
   −
For non-emergency calls, preferably send email to the administrative contact.
+
Send email to the systems sugar labs list.
 +
 
 +
== Notes ==
 +
 
 +
In https://github.com/sugarlabs/www-sugarlabs/settings/hooks there is a webhook defined, as documented at https://developer.github.com/webhooks/
 +
 
 +
This sends a POST request in JSON format to https://hook.sugarlabs.org/www.sugarlabs.org
   −
ruben AT sugarlabs DOT org
+
A container named org.sugarlabs.www-rebuilder is in charge of processing this payload, which does the following:
   −
== Notes ==
+
1. Install jekyll.
 +
2. Clone the SL repo.
 +
3. Install Flask
 +
4. Execute a Flask Python App which does the following: pull the repo and jekyll build. This app doesn't parse the POST request.
   −
Connected to ldap.sugarlabs.org for user authentication
+
The site is generated in the folder /clone/_site which is bind to the following dir in freedom: /srv/www-out. This is the doc root for the SL in the nginx server block.
    
== Upgrade notes ==
 
== Upgrade notes ==
   −
Drupal can be managed in several ways, but the drush command (installed) is the preferable way. Read more about it at http://www.drush.org/
+
Remember to restart the org.sugarlabs.www-rebuilder container after upgrading freedom.  
 +
 
    
[[Category:Service|www]]
 
[[Category:Service|www]]

Navigation menu