Future Maintainance Instructions - ao994/FireFlightProject GitHub Wiki

Still To-Do:

  • Create tests for mapping and Django views
  • Add a loading page
  • Fix CSP-exempt list
  • Implement the ability to download an image of the map

Updating Project Dependencies

  • In the command line (in the main folder), activate the Python virtual environment (venv).
  • Then, to check for outdated packages, run this command: pip list --outdated. This will show packages that are outdated and need to be updated.
  • For each package that needs to be updated, first, do your research and make sure that it will still work with all of the other packages currently installed!
    • After confirming that the updated version of package will work with your code, run this command, replacing package_name with the name of the package you wish to update: pip install --upgrade package_name.
  • After updating all of your packages, run the following command to export the current packages and their versions to the requirements.txt file: pip freeze > requirements.txt.