Skip to content
Hydro74000 edited this page Nov 8, 2017 · 1 revision

Do :

  1. stop all your instances
  2. pull latest develop
  3. pip3[.6] install -r requirements.txt -U
  4. make sure sightings and sightings_users are not overloaded. (do cleanup if you have millions of rows)
  5. alembic upgrade head
  6. restart scan.py
  7. python3[.6] cleanup.py -sc (Unix only. For Windows, refer to Cleanup wiki)

Important

  • If you skipped steps 1. and 4., step 5. might take a long time and sometimes result in migration failure.
  • 7. is only needed once per DB.