| 7 | | - Have to make install.sh and catalina.sh executable. |
| 8 | | - Have to amend apache config: |
| 9 | | - Amend `loadmodule.conf` to: |
| | 9 | 1. Log onto the appropriate LAMP server. |
| | 10 | 2. `cd /local` |
| | 11 | 3. Download this repository using the command `svn export https://svn.rcs.le.ac.uk/LCBRU/utilities/OpenSpecimen/trunk/v3.2/` |
| | 12 | 4. `cd v3.2` |
| | 13 | 5. Backup the database. |
| | 14 | 6. Run the command `./doInstall.sh` |
| | 15 | 7. If the process is still running, kill it using `sudo -u wwwrun kill {process id}` |
| | 16 | 8. `sudo -u wwwrun /local/openspecimen/run_open_specimen.sh` |
| | 17 | 9. Check it starts by running `tail -f /local/openspecimen/app/logs/catalina.out` |
| | 18 | 10. Check for errors by running `tail -f /local/openspecimen/openspecimen.log` |
| | 19 | 11. Amend `loadmodule.conf` to: |
| 33 | | == Process |
| 34 | | |
| 35 | | 1. Log onto the appropriate LAMP server. |
| 36 | | 2. `cd /local` |
| 37 | | 3. Download this repository using the command `svn export https://svn.rcs.le.ac.uk/LCBRU/utilities/OpenSpecimen/trunk/v3.2/` |
| 38 | | 4. `cd v3.2` |
| 39 | | 5. Backup the database. |
| 40 | | 6. Run the command `./doInstall.sh` |
| 41 | | 7. If the process is still running, kill it using `sudo -u wwwrun kill {process id}` |
| 42 | | 8. `sudo -u wwwrun /local/openspecimen/run_open_specimen.sh` |
| 43 | | 9. Check it starts by running `tail -f /local/openspecimen/app/logs/catalina.out` |
| 44 | | 10. Check for errors by running `tail -f /local/openspecimen/openspecimen.log` |
| 45 | | |
| 46 | | == UPDATE WORKFLOW table to correct format |
| 47 | | |
| 48 | | Run the command: |
| 49 | | |
| 50 | | {{{ |
| 51 | | update os_cp_workflows set workflows = '[{"name":"registerParticipant","view":"plugin-ui-resources/le/collect-specimens.html","ctrl":"leRegAndCollectSpecimensCtrl","data":{"boxOpts":{"dimension":{"rows":8,"columns":12},"compact":false}}}]'; |
| 52 | | }}} |
| 53 | | |
| 54 | | == NEW Procedure |
| 55 | | |
| 56 | | - [[https://openspecimen.atlassian.net/wiki/pages/viewpage.action?pageId=1115955|How to Build]] |
| 57 | | |
| 58 | | |