Service/Social Help: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 13: | Line 13: | ||
[[Machine/justice|Freedom]] using docker | [[Machine/justice|Freedom]] using docker | ||
All the stuff lives in | All the stuff lives in <code>/srv/socialhelp</code> | ||
It uses the | It uses the <code>socialhelp</code> partition which is 20G ext4 on the lvm | ||
== Setup == | == Setup == | ||
| Line 26: | Line 21: | ||
First do the discourse: | First do the discourse: | ||
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]. | |||
Then the re director: | 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 | |||