Forum Captain'sLog Crewlist CrewWanted BoatForsale Classifieds Boat Sailor


ALL Boards
  652
News And
Events
  73
Regulations
  18
Racing
  15
Cruising &
Liveaboard
  163
Multihulls
  16
Building &
Repairs
  15
Outfitting
& Gear
  22
7knots FAQ
& General
  51
Development
Bug Reports
  22
Misc & Other
  64
Test Posts
  193
ID: 27 Title: Debugging Is Done On-The-Fly On Production Version Replis: 0 Read: 1053 Author: 1
Name: Tom Yang  Posts: 110    Vancouver Time: 2003-1-30_4:49:32 Quote    Reply
Before the new server swapping, I took adventage of it and did a full-month wanton development. Once the new version takes over, I do live improvements on-the-fly directly on the production version. Of course this is wrong. Any non-personal internet website should have a production version running in front and a similar testing environment for development in the back. This is not the case in 7knots at this moment due to lack of resources. To minimize the risk, I test it right after very small changes. Users can be annoyed upon seeing crashed scripts or seeing testing data coming in and out. Sometimes, there is no such thing as small changes,e.g. typos. It can be scary. The emacs editor saves up to 10 copies of earlier versions and the sytem saves the bulk development every week so I can alwary revert it to a working sets upon catastrophe.

In the near future, I will have the Apache run two virture hosts, one is www.7knots.com, one is dev.7knots.com with the apache document root mounting on a different location.