aboutcode-org / scancode-server

This project is no longer maintained. Visit https://github.com/nexB/scancode.io/ instead for similar and current project
https://github.com/nexB/scancode.io/
19 stars 17 forks source link

Error when attempting to use local scan #77

Closed JonoYang closed 7 years ago

JonoYang commented 7 years ago

When I try to do a local scan from localhost:8000/localscan, I get the following error:

ProgrammingError at /localscan/
relation "scanapp_scan" does not exist

I have set up scancode-server following the instructions on the README from the develop branch.

JonoYang commented 7 years ago

After discussing with @singh1114, I ran python manage.py makemigrations and python manage.py migrate. After, I then installed and ran redis-server and celery -A scanapp worker -l info alongside scancode-server. I was then able to upload files and see the scan results in the models.

I have updated the README in #79