Changes

Jump to navigation Jump to search
452 bytes removed ,  12:41, 6 June 2021
add a link to https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll
Line 12: Line 12:  
== Hosted on ==
 
== Hosted on ==
   −
[[Machine/sunjammer]]
+
[https://pages.github.com/ GitHub Pages]
    
== Administrative contact ==
 
== Administrative contact ==
Line 24: Line 24:  
== Notes ==
 
== Notes ==
   −
In https://github.com/sugarlabs/www-sugarlabs/settings/hooks there is a webhook defined, as documented at https://developer.github.com/webhooks/
+
The website is hosted from sugarlabs.github.io (GitHub Pages). The website will be automatically refreshed on every commit to
 
+
its [https://github.com/sugarlabs/www-sugarlabs Github Repository]. For more information on how the GitHub Jekyll website builder
This sends a POST request in JSON format to https://hook.sugarlabs.org/www.sugarlabs.org
+
works, see https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll .
 
  −
A container named org.sugarlabs.www-rebuilder is in charge of processing this payload, which does the following:
  −
 
  −
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.
  −
 
  −
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 ==
  −
 
  −
Remember to restart the org.sugarlabs.www-rebuilder container after upgrading freedom.  
  −
 
      
[[Category:Service|www]]
 
[[Category:Service|www]]
79

edits

Navigation menu