Difference between revisions of "Service/Social Help"

From Sugar Labs
Jump to navigation Jump to search
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Hostnames & Emails ==
 
== Hostnames & Emails ==
  
socialhelp.sugarlabs.org
+
[https://socialhelp.sugarlabs.org socialhelp.sugarlabs.org]
use.socialhelp.sugarlabs.org
 
  
 +
[http://use.socialhelp.sugarlabs.org use.socialhelp.sugarlabs.org] (HTTP only, redirects to use-socialhelp on https)
  
 +
[https://use-socialhelp.sugarlabs.org use-socialhelp.sugarlabs.org]
 +
 +
socialhelp AT sugarlabs DOT org
  
 
== Hosted On ==
 
== Hosted On ==
  
[Machine/justice|Freedom] using docker.
+
[[Machine/justice|Freedom]] using docker
  
All the stuff lives in ``/srv/socialhelp``
+
All the stuff lives in <code>/srv/socialhelp</code>
  
=== Ports ===
+
It uses the <code>socialhelp</code> partition which is 20G ext4 on the lvm
  
Shfr: 8000
+
== Setup ==
Discourse: 8002
 
  
Discourse container ssh: 2222 - use ``sudo ./discourse/launcher ssh app``
+
First do the discourse:
  
== Setup ==
+
cd /srv/socialhelp/discourse
 +
 +
<nowiki>#</nowiki> 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 [https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325 on their discourse forum].
  
First do the discourse:
+
Then the re-director & sso:
  
     cd /srv/socialhelp/discourse
+
     container.yml start /containers/org.sugarlabs.socialhelp_sso/ -d
 +
    container.yml start /containers/org.sugarlabs.use-socialhelp/ -d
  
     # Remove the old one
+
     # If they fail to start, make sure that they are built:
     sudo docker rmi local_discourse/app
+
     container.yml build /containers/org.sugarlabs.socialhelp_sso/
 +
    container.yml build /containers/org.sugarlabs.use-socialhelp/
  
    # Generate the container - will take some time
+
== Todo ==
    sudo ./launcher bootstrap app
 
  
    sudo ./launcher start app
+
* how to upgrade to next version of discourse

Latest revision as of 23:09, 19 September 2017

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/

Todo

  • how to upgrade to next version of discourse