Difference between revisions of "Service/Social Help"
< Service
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
Shfr: 8000 | Shfr: 8000 | ||
Discourse: 8002 | Discourse: 8002 | ||
− | |||
− | |||
== Setup == | == Setup == | ||
Line 24: | Line 22: | ||
cd /srv/socialhelp/discourse | cd /srv/socialhelp/discourse | ||
+ | |||
+ | # Generate the container - will take some time | ||
+ | sudo ./launcher rebuild app | ||
+ | |||
+ | sudo ./launcher start app | ||
− | + | Then the re director: | |
− | |||
− | # | + | cd /srv/socialhelp/shfr |
− | + | ||
+ | docker pull samdroid/shfr | ||
+ | |||
+ | # Get id of old instance | ||
+ | docker ps | ||
+ | docker kill [id] | ||
− | + | docker run -d -p 8000:8000 -v /data:/srv/socialhelp/shfr samdroid/shfr "$(cat forums.json)" |
Revision as of 05:13, 9 October 2014
Hostnames & Emails
socialhelp.sugarlabs.org use.socialhelp.sugarlabs.org
Hosted On
[Machine/justice|Freedom] using docker.
All the stuff lives in ``/srv/socialhelp``
Ports
Shfr: 8000 Discourse: 8002
Setup
First do the discourse:
cd /srv/socialhelp/discourse # Generate the container - will take some time sudo ./launcher rebuild app sudo ./launcher start app
Then the re director:
cd /srv/socialhelp/shfr
docker pull samdroid/shfr
# Get id of old instance docker ps docker kill [id]
docker run -d -p 8000:8000 -v /data:/srv/socialhelp/shfr samdroid/shfr "$(cat forums.json)"