Changes between Initial Version and Version 1 of TransitionResearchWagn


Ignore:
Timestamp:
10/10/13 09:44:58 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TransitionResearchWagn

    v1 v1  
     1[[PageOutline(2-5, Table of Contents, floated)]] 
     2= Transition Research Patterns = 
     3 
     4The http://patterns.transitionresearchnetwork.org/ is running http://wagn.org/ on PenguinServer, via a reverse Nginx reverse proxy and WEBrick. 
     5 
     6To start and stop the WEBrick server: 
     7 
     8{{{ 
     9sudo -i 
     10su-wagn 
     11wagn-start 
     12wagn-stop 
     13}}} 
     14 
     15See the wagn-start and wagn-stop scripts below. 
     16 
     17== Upgrades == 
     18 
     19See http://wagn.org/upgrading 
     20 
     21The steps are: 
     22 
     23{{{ 
     24sudo -i 
     25su-wagn 
     26git pull 
     27bundle install 
     28rm -rf tmp/cache/* 
     29rake wagn:reset_cache 
     30rake wagn:migrate 
     31}}} 
     32 
     33== Tickets == 
     34 
     35Open Wagn tickets: 
     36 
     37[[TicketQuery(status=accepted|new|assigned|reopened&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] 
     38 
     39Closed Wagn tickets: 
     40 
     41[[TicketQuery(status=closed&component=Wagn,order=id,desc=1,format=table,col=summary|owner|reporter)]] 
     42 
     43== Scripts == 
     44 
     45A couple of scripts have been written to start and stop the WEBrick server: 
     46 
     47=== wagn-start === 
     48 
     49{{{ 
     50#!/bin/bash 
     51 
     52env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1 -d 
     53}}} 
     54 
     55=== wagn-stop=== 
     56 
     57{{{ 
     58#!/bin/bash 
     59 
     60kill -INT $(cat /web/wagn/tmp/pids/server.pid) 
     61}}} 
     62 
     63== Install == 
     64 
     65See ticket:561