-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Issue on setting up the local development env #79
Comments
Hi @Aju100, The issue arises due to 2 main reasons, firstly, correct environment variables are needed by the project to interact with other components like MongoDB, which can be fixed as stated above. Secondly, as highlighted here, it may be the case that MongoDB is not listening on localhost mapped to IPv6. This can be resolved by editing the MongoDB config file. For location of MongoDB config file refer this. |
Hi @maanas-talwar thank you it's working now. |
@maanas-talwar How about the first approach can you please test it on your machine? |
Hi everyone,
As far as I have gone through README.md of scan8, I have got the issue on setting up the local environment in my machine.
First approach
I have gone through Docker one isolating the env so we can run easily. But the issue raises up.
git clone repo_url
docker build -t name_of_build_image .
Here are the failed logs via docker setup.
It has already said there is no folder of that in order to copy in the docker storage/volume correct me if i am wrong here
Second approach
I have to set up the rest of the other tools like MongoDB, Redis, Python, and clamav too for the plain installation process.
Make sure my Redis and MongoDB working on the background.
Mongodb
Redis
Steps to reproduce
cd Dashboard
pip3 install -r requirements.txt
python3 app.py
, flask server listens to the port on 5000 on localhostHere is the output
I would love to know what causes the issue and fully set it up in my local machine so I can learn and enhance this project. Looking forward to hear from the community.
The text was updated successfully, but these errors were encountered: