Version 10 (modified by chris, 3 years ago) (diff) |
---|
Table of Contents
Transition Research Patterns
The http://patterns.transitionresearchnetwork.org/ is running http://wagn.org/ on PenguinServer, via Phusion Passenger, see ticket:691 for the install notes. Prior to using Phusion Passenger the site was using the WagnWEBrickServer.
Tickets
Open Wagn tickets:
Closed Wagn tickets:
Ticket | Summary | Owner | Reporter |
---|---|---|---|
#926 | TLS cert for patterns.transitionresearchnetwork.org | chris | chris |
#691 | Upgrade Wagn hosting for patterns site | chris | chris |
#668 | Wagn transition_mod | chris | chris |
#665 | Wagn "Problem Loading Page" error | chris | chris |
#635 | Transition Research Patterns WEBrick monitoring | chris | chris |
#561 | Move Transition Research patterns Wagn website onto Penguin | chris | ed |
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