Remove legacy upgrade instructions.

This commit is contained in:
Adarnof 2017-01-25 17:23:17 -05:00
parent 2c68f485e2
commit 44256c3408
2 changed files with 1 additions and 56 deletions

View File

@ -11,44 +11,12 @@ For other distros, adapt the procedure and find distro-specific alternatives for
# Using
See the [Quick Start Guide](installation/auth/quickstart.md)
See the [Quick Start Guide](installation/auth/quickstart.md) and learn about individual [features.](features/index.md)
# Troubleshooting
Read the [list of common problems.](maintenance/troubleshooting.md)
# Upgrading
As AllianceAuth is developed, new features are added while old bugs are repaired. Its good practice to keep your instance of AllianceAuth up to date.
Some updates require specific instructions. Refer to their entry in the [changelog](maintenance/changelog.md)
In general, the update process has 4 steps:
- download the latest code
- generate new models in the database
- update current models in the database
- rebuild web cache
To perform each of these steps, youll need to be working from the console in the AllianceAuth directory. Usually `cd ~/allianceauth`
Start by pulling the code changes:
git pull
Modify settings.py according to the changelog.
For an automated upgrade, run the script:
bash update.sh
For a manual upgrade, execute the commands in this order:
sudo pip install -r requirements.txt
python manage.py migrate
python manage.py collectstatic
```eval_rst
.. toctree::

View File

@ -1,23 +0,0 @@
pip install -r requirements.txt
python manage.py migrate --fake admin 0001_initial
python manage.py migrate --fake djcelery 0001_initial
python manage.py migrate --fake sessions 0001_initial
python manage.py migrate --fake auth 0001_initial
python manage.py migrate admin
python manage.py migrate sessions
python manage.py migrate djcelery
python manage.py migrate auth
python manage.py migrate --fake authentication 0001_initial
python manage.py migrate --fake celerytask 0001_initial
python manage.py migrate --fake eveonline 0001_initial
python manage.py migrate --fake fleetactivitytracking 0001_initial
python manage.py migrate --fake groupmanagement 0001_initial
python manage.py migrate --fake hrapplications 0001_initial
python manage.py migrate --fake notifications 0001_initial
python manage.py migrate --fake optimer 0001_initial
python manage.py migrate --fake services 0001_initial
python manage.py migrate --fake sigtracker 0001_initial
python manage.py migrate --fake srp 0001_initial
python manage.py migrate --fake timerboard 0001_initial
python manage.py migrate
mysql -u root -p -e 'use alliance_auth; drop table sigtracker_sigtracker; drop table celerytask_syncgroupcache;'