SciPost Code Repository

Skip to content
Snippets Groups Projects
  • Jorran de Wit's avatar
    MIGRATION CAUTION: MUST READ *BEFORE* UPDATE · 3228e2a0
    Jorran de Wit authored
    If you are updating on a machine please follow these steps
    *BEFORE* updating your code to this commit.
    
    If you are installing on a fresh database and do not need to think
    about existing data, ignore the following and proceed as usual.
    
    1. Run the following migrations:
    ```
    python manage.py migrate --fake scipost zero
    python manage.py migrate --fake notifications zero
    python manage.py migrate --fake partners zero
    python manage.py migrate --fake affiliations zero
    python manage.py migrate --fake commentaries zero
    python manage.py migrate --fake comments zero
    python manage.py migrate --fake finances zero
    ```
    
    2. *** NOW UPDATE/PULL GIT ***
    3. Run: `python manage.py migrate --fake-initial`
    3228e2a0
Code owners
Assign users and groups as approvers for specific file changes. Learn more.