Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 516 Bytes

UPGRADING.md

File metadata and controls

19 lines (13 loc) · 516 Bytes

Bumping the year

  1. On server, back up current database:

    docker exec brackets_db_1 /usr/bin/mysqldump -u root --password=password brackets > backups/brackets-$(date +%Y).sql
  2. Update the brackets environment varfile on the destination host, setting YEAR and flipping BRACKET_CHANGES_ALLOWED to 'True' (until the tournament begins).

    vi /srv/brackets/env
  3. Restart the site:

    sudo systemctl restart docker-gunsch-brackets.service