[[PageOutline(2-5, Table of Contents, floated)]] = Transition Research Patterns = 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. == Tickets == Open Wagn tickets: [[TicketQuery(status=accepted|new|assigned|reopened&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] Closed Wagn tickets: [[TicketQuery(status=closed&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] == WEBrick config == 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: To start and stop the WEBrick server: {{{ sudo -i su-wagn wagn-start wagn-stop }}} The WEBrick server is set to start following a reboot via this in the wagn users crontab: {{{ @reboot /web/wagn/bin/wagn-start }}} See the wagn-start and wagn-stop scripts below. === Upgrades === See http://wagn.org/upgrading The steps are: {{{ sudo -i su-wagn git pull bundle install rm -rf tmp/cache/* rake wagn:reset_cache rake wagn:migrate }}} === Scripts === A couple of scripts have been written to start and stop the WEBrick server: ==== wagn-start ==== {{{ #!/bin/bash env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1 -d }}} ==== wagn-stop==== {{{ #!/bin/bash kill -INT $(cat /web/wagn/tmp/pids/server.pid) }}} === Install Notes === See ticket:561