Skip to content

Commit 6879f29

Browse files
committed
Updated the INSTALL instructions to reflect the new way patch numbers are handled in ietf/__init__.py from the 6.0.0 release.
- Legacy-Id: 10267
1 parent 6335cf5 commit 6879f29

1 file changed

Lines changed: 23 additions & 18 deletions

File tree

INSTALL

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,50 @@ General Instructions for Deployment of a New Release
1818

1919
cp $oldreleasenumber/ietf/settings_local.py $releasenumber/ietf/
2020

21-
3. Change into the directory of the new release: and run migrations::
21+
3. Change into the directory of the new release, and optionally set up a
22+
Python virtual environment
2223

2324
cd $releasenumber
24-
25-
26-
3.5 Optionally, set up a Python virtual environment:
27-
28-
virtualenv .
29-
source bin/activate
25+
virtualenv . # optional
26+
source bin/activate # optional
3027

3128
4. Install requirements (make sure your pip is reasonably fresh first).
3229
The following will install required python modules locally if you
33-
are using a virtualenv, or globally if you are not:
30+
are using a virtualenv, or globally if you are not::
3431

3532
pip install -r requirements.txt
3633

37-
5. Run migrations:
34+
5. Run migrations::
3835

3936
ietf/manage.py migrate
4037

41-
6. Back out one directory level, then re-point the 'web' symlink::
38+
6. Move static files to the appropriate direcrory for serving via CDN::
39+
40+
ietf/manage.py collectstatic
41+
42+
7. Run some basic datatracker system checks::
43+
44+
ietf/manage.py check
45+
46+
8. Back out one directory level, then re-point the 'web' symlink::
4247

4348
cd ..
4449
rm ./web; ln -s $releasenumber web
4550

46-
7. Restart apache::
51+
9. Restart apache::
4752

4853
sudo /etc/init.d/apache2 restart
4954

50-
8. It's now also a good idea to go to the datatracker front page:
55+
10. It's now also a good idea to go to the datatracker front page::
5156

5257
http://datatracker.ietf.org/
5358

54-
to check that it's alive and kicking, and displaying the new release
55-
number at the bottom of the left-side menubar :-)
59+
to check that it's alive and kicking, and displaying the new release
60+
number at the bottom of the left-side menubar :-)
5661

57-
9. If things **aren't** cool, revert the symlink step, re-pointing the
58-
symlink to the release that was running before the new release, and restart
59-
apache again to roll back to that.
62+
11. If things **aren't** cool, revert the symlink step, re-pointing the
63+
symlink to the release that was running before the new release, and restart
64+
apache again to roll back to that.
6065

6166

6267
Installing from Scratch
@@ -105,7 +110,7 @@ process should be used:
105110
out why.
106111

107112
6. Edit ``.../ietf/__init__.py`` in the new patched release to indicate the patch
108-
version in the ``__version__`` string and current date and time in the ``__date__``
113+
version in the ``__patch__`` string and current date and time in the ``__date__``
109114
string.
110115

111116
7. Change the 'web' symlink, reload etc. as described in

0 commit comments

Comments
 (0)