Changes

Jump to navigation Jump to search
110 bytes added ,  05:13, 9 October 2014
no edit summary
Line 16: Line 16:  
Shfr: 8000
 
Shfr: 8000
 
Discourse: 8002
 
Discourse: 8002
  −
Discourse container ssh: 2222 - use ``sudo ./discourse/launcher ssh app``
      
== 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
   −
    # Remove the old one
+
Then the re director:
    sudo docker rmi local_discourse/app
     −
     # Generate the container - will take some time
+
    cd /srv/socialhelp/shfr
     sudo ./launcher bootstrap app
+
 
 +
    docker pull samdroid/shfr
 +
 
 +
     # Get id of old instance
 +
    docker ps
 +
     docker kill [id]
   −
     sudo ./launcher start app
+
     docker run -d -p 8000:8000 -v /data:/srv/socialhelp/shfr samdroid/shfr "$(cat forums.json)"

Navigation menu