Difference between revisions of "Service/Social Help"

From Sugar Labs
Jump to navigation Jump to search
(container.yml)
Line 29: Line 29:
 
Most of the helpful discourse documentation is found [https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325 on their discourse forum].
 
Most of the helpful discourse documentation is found [https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325 on their discourse forum].
  
Then the re director:
+
Then the re-director & sso:
  
container.yml start /home/sam/aslo/socialhelp -d
+
    container.yml start /containers/org.sugarlabs.socialhelp_sso/ -d
The sso also service can be started via container.yml too. It lives in <code>/home/sam/socialhelp-sso</code>.
+
    container.yml start /containers/org.sugarlabs.use-socialhelp/ -d
 +
 
 +
    # If they fail to start, make sure that they are built:
 +
    container.yml build /containers/org.sugarlabs.socialhelp_sso/
 +
    container.yml build /containers/org.sugarlabs.use-socialhelp/

Revision as of 02:07, 22 November 2016

Hostnames & Emails

socialhelp.sugarlabs.org

use.socialhelp.sugarlabs.org (HTTP only, redirects to use-socialhelp on https)

use-socialhelp.sugarlabs.org

socialhelp AT sugarlabs DOT org

Hosted On

Freedom using docker

All the stuff lives in /srv/socialhelp

It uses the socialhelp partition which is 20G ext4 on the lvm

Setup

First do the discourse:

cd /srv/socialhelp/discourse

# Generate the container - will take some time
sudo ./launcher rebuild app

sudo ./launcher start app --docker-args "-m 5g --cpuset='6-7'" 

Most of the helpful discourse documentation is found on their discourse forum.

Then the re-director & sso:

   container.yml start /containers/org.sugarlabs.socialhelp_sso/ -d
   container.yml start /containers/org.sugarlabs.use-socialhelp/ -d
   # If they fail to start, make sure that they are built:
   container.yml build /containers/org.sugarlabs.socialhelp_sso/
   container.yml build /containers/org.sugarlabs.use-socialhelp/