| 42 | svn commit -m "A sensible description of what you've done" |
| 43 | }}} |
| 44 | Make sure you add a good description in case someone needs to roll back a commit to fix an issue. Then, repeat this step until you're ready to... |
| 45 | |
| 46 | === 2. Test on the DEV server === |
| 47 | This step is critical because the DEV server mirrors the setup on LIVE. Hence any issues or differences you didn't spot whilst working on your local machine can be ironed out here. It also allows you to get feedback on your work so far as required. |
| 48 | |
| 49 | '''Note:''' To get files onto the server, you must have logged into the development server via SSH - for more on how to do this see wiki:DevelopmentServer#SSHaccess. |
| 50 | {{{ |
| 51 | ssh dev.transitionnetwork.org.webarch.net |
| 52 | cd web/dev.transitionnetwork.org.webarch.net/www |
48 | | 1. OPTIONAL: Developer updates the TEST server using same code. |
49 | | 1. OPTIONAL: Developer solicits feedback and testing from managers/stakeholders if complex changes or new development. This is probably on DEV, but could be on TEST. |
50 | | 1. Once happy, developer tags the code as appropriate (e.g. v1.3.1 "The crown jewels" etc) as a new copy in the LIVE branch. The source of this should be the DEV branch, since TEST server should only test tagged and ready releases before they make it to LIVE. |
| 59 | === 3. 'Tag' (copy) the release === |
| 60 | Once everyone is happy with the DEV site updates, you will need to 'tags' (svn copy) the release so it's ready to be moved onto the LIVE server - or the TEST site if needed, more on that in a moment. |
| 61 | |
| 62 | |
| 63 | code as appropriate (e.g. v1.3.1 "The crown jewels" etc) as a new copy in the LIVE branch. The source of this should be the DEV branch, since TEST server should only test tagged and ready releases before they make it to LIVE. |
| 64 | |
| 65 | '''OPTIONAL: Test on TEST too''': Use the above command, but replace 'dev' with 'test' and go to http://test.transitionnetwork.org.webarch.net/ to see things are ok. |
| 66 | |
| 67 | Test away and, if necessary (because several developers are working on the site, or you are preparing a large release) repeat the process on the TEST server... |
| 68 | |
| 69 | |
| 70 | |