Changes

Jump to navigation Jump to search
117 bytes added ,  15:51, 15 November 2014
Line 29: Line 29:  
     sudo ./launcher rebuild app
 
     sudo ./launcher rebuild app
 
      
 
      
     sudo ./launcher start app
+
     sudo ./launcher start app --docker-args "-m 4g --cpuset='6-7'"
    
Then the re director:
 
Then the re director:
   −
    cd /srv/socialhelp/shfr
+
     docker pull samdroid/aslo-shfr
 
  −
     docker pull samdroid/shfr
      
     # Get id of old instance
 
     # Get id of old instance
Line 41: Line 39:  
     docker kill [id]
 
     docker kill [id]
   −
     docker run -d -p 8000:8000 -v /data:/srv/socialhelp/shfr samdroid/shfr "$(cat forums.json)"
+
     docker run -e API_KEY=DISCOURSE_API_KEY -m 500m --cpuset="7" -c 1 -p 8000:8000 --name="SHFR-Beaver" -d samdroid/aslo-shfr:latest
 +
 
 +
The api key is stored at:  /srv/socialhelp/discourse_api_key.txt

Navigation menu