Changes between Version 11 and Version 12 of TransitionResearchWagn


Ignore:
Timestamp:
05/23/14 11:40:09 (3 years ago)
Author:
chris
Comment:

WEBrick information archives to WagnWebrick

Legend:

Unmodified
Added
Removed
Modified
  • TransitionResearchWagn

    v11 v12  
    22= Transition Research Patterns = 
    33 
    4 The http://patterns.transitionresearchnetwork.org/ is running http://wagn.org/ on PenguinServer, via [http://www.modrails.com/documentation/Users%20guide%20Nginx.html Phusion Passenger], see ticket:691 for the install notes. Prior to using Phusion Passenger the site was using WagnWebrick. 
     4The http://patterns.transitionresearchnetwork.org/ is running http://wagn.org/ on PenguinServer, via [http://www.modrails.com/documentation/Users%20guide%20Nginx.html Phusion Passenger], see ticket:691 for the install notes. Prior to using Phusion Passenger the site was using WagnWebrick, see ticket:561 for the original install notes. 
    55 
    66== Tickets == 
     
    1414[[TicketQuery(status=closed&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] 
    1515 
    16  
    17 == WEBrick config == 
    18  
    19 This server was running via a Nginx reverse proxy to WEBrick but was switched to Phusion Passenger on ticket:691, the following documentation is left here for historic reasons: 
    20  
    21 To start and stop the WEBrick server: 
    22  
    23 {{{ 
    24 sudo -i 
    25 su-wagn 
    26 wagn-start 
    27 wagn-stop 
    28 }}} 
    29  
    30 The WEBrick server is set to start following a reboot via this in the wagn users crontab: 
    31  
    32 {{{ 
    33 @reboot /web/wagn/bin/wagn-start 
    34 }}} 
    35  
    36 See the wagn-start and wagn-stop scripts below. 
    3716 
    3817=== Upgrades === 
     
    5130rake wagn:migrate 
    5231}}} 
    53  
    54 === Scripts === 
    55  
    56 A couple of scripts have been written to start and stop the WEBrick server: 
    57  
    58 ==== wagn-start ==== 
    59  
    60 {{{ 
    61 #!/bin/bash 
    62  
    63 env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1 -d 
    64 }}} 
    65  
    66 ==== wagn-stop==== 
    67  
    68 {{{ 
    69 #!/bin/bash 
    70  
    71 kill -INT $(cat /web/wagn/tmp/pids/server.pid) 
    72 }}} 
    73  
    74 === Install Notes === 
    75  
    76 See ticket:561