societe-generale / swordphish-awareness

Swordphish Phishing Awareness Tool
https://societe-generale.github.io/swordphish-awareness/
GNU General Public License v3.0
220 stars 51 forks source link

Not being able to build the docker image #63

Closed alphaO4 closed 8 months ago

alphaO4 commented 10 months ago

Hello Folks

Im currently trying to setup Swordphish. I first tried to setup swordphish via the documentation provided, but failed (either when uWSGI cant find the router_cache plugin or that the swordphish module cant be found.), so I tried to use the Docker file.

When running docker-compose's build in the docker folder, everything finishes excelt for the ./manage.py generate_Secert_key, where it spits out

#14 1.863   File "/opt/swordphish/Swordphish/__init__.py", line 5, in <module>
#14 1.863     from .celery import app as celery_app
#14 1.863 ModuleNotFoundError: No module named 'Swordphish.celery

I have not changed anything in all of the docker files, so I am at a bit of a loss.

If anyone could point me in the right direction, that would be greatly appreciated!

Edit: I am using a Debian 11 image, with nothing installed, other then docker and the "old" not functioning installation of Swordphish.

Husseinfo commented 8 months ago

Hello, docker setup is updated. Please make sure to run

$ docker-compose up --build

to rebuild swordphish image.

alphaO4 commented 8 months ago

Seems to work now. Thanks!