Changes between Version 11 and Version 12 of TransitionResearchWagn
- Timestamp:
- 05/23/14 11:40:09 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TransitionResearchWagn
v11 v12 2 2 = Transition Research Patterns = 3 3 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 .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, see ticket:561 for the original install notes. 5 5 6 6 == Tickets == … … 14 14 [[TicketQuery(status=closed&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] 15 15 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 -i25 su-wagn26 wagn-start27 wagn-stop28 }}}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-start34 }}}35 36 See the wagn-start and wagn-stop scripts below.37 16 38 17 === Upgrades === … … 51 30 rake wagn:migrate 52 31 }}} 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/bash62 63 env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1 -d64 }}}65 66 ==== wagn-stop====67 68 {{{69 #!/bin/bash70 71 kill -INT $(cat /web/wagn/tmp/pids/server.pid)72 }}}73 74 === Install Notes ===75 76 See ticket:561