Mercurial > p > roundup > code
comparison doc/admin_guide.txt @ 8041:704757c71b84
docs: use virtual env for upgrade; stop cron jobs.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 19 Jun 2024 00:23:51 -0400 |
| parents | e1cff9745fb4 |
| children | 335b8a40e355 |
comparison
equal
deleted
inserted
replaced
| 8040:19cef1e285b0 | 8041:704757c71b84 |
|---|---|
| 1350 pip3 install pytest | 1350 pip3 install pytest |
| 1351 python3 -m pytest test/ | 1351 python3 -m pytest test/ |
| 1352 | 1352 |
| 1353 2. If you're using an RDBMS backend, make a backup of its contents now. | 1353 2. If you're using an RDBMS backend, make a backup of its contents now. |
| 1354 3. Make a backup of the tracker home itself. | 1354 3. Make a backup of the tracker home itself. |
| 1355 4. Stop the tracker web and email frontends. | 1355 4. Stop the tracker web, email frontends and any scheduled |
| 1356 5. Install the new version of the software:: | 1356 (cron) jobs that access the tracker. |
| 1357 | 1357 5. Install the new version of the software in a new virtual |
| 1358 python setup.py install | 1358 environment:: |
| 1359 | |
| 1360 python3 -m venv /path/to/env | |
| 1361 . /path/to/env/bin/activate | |
| 1362 python3 pip install roundup | |
| 1359 | 1363 |
| 1360 6. Follow the steps in the `upgrading documentation`_ for all the | 1364 6. Follow the steps in the `upgrading documentation`_ for all the |
| 1361 versions between your original version and the new version. | 1365 versions between your original version and the new version. |
| 1362 | 1366 |
| 1363 Usually you should run `roundup_admin -i <tracker_home> migrate` | 1367 Usually you should run `roundup_admin -i <tracker_home> migrate` |
