Troubleshooting - ao994/FireFlightProject GitHub Wiki
- Run the following command to be able to properly install the packages for project set-up:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
. This will make it so that the execution policy for scripts executed on your machine allows remotely signed scripts to be executed (which is not allowed by default). For more information on Windows execution policies, read here.
- Currently, there is a known problem when sometimes generating a map containing Steller's Jay data (and possibly other bird species). This results in the page waiting forever to load the map, even when it has already been generated.
- Fix: Go to the console window where you are running the website, and press any key. The map page should then finish loading.
- Does the Django user have the appropriate permissions to access it?
python manage.py makemigrations map_app
python manage.py migrate
python manage.py populate <insert name of csv file>
- Note: If the official format has changed, the conditions populate checks for must be updated.
- If it has been less than a minute or two, wait longer for it to load.
- This is necessary for loading in the basemap.
pip install -r requirements.txt
- This is necessary to update your Python dependencies to the latest version.