Skip to content
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

Can't connect to local host? #85

Open
jmontoya29 opened this issue Mar 10, 2024 · 2 comments
Open

Can't connect to local host? #85

jmontoya29 opened this issue Mar 10, 2024 · 2 comments

Comments

@jmontoya29
Copy link

Hello, great project. I was able to run the containers however I'm having an issue with safari or chrome connecting to the local host. I'm running a local version not a production version. Has anyone experience this similar issue?

Screenshot 2024-03-10 at 4 12 48 PM Screenshot 2024-03-10 at 4 18 24 PM

I've added the port 5432 as this was a recommendation in the previous issue that had comments.

I'm using Docker, VS Code, and running on Mac.

@vas3k
Copy link
Owner

vas3k commented Mar 11, 2024

Something broke in the old dependencies. Probably PyYAML or an old version of Ubuntu in dockerfile. I wasn't able to get it fixed quickly, need to invest some time in it. Try running everything without docker on your local machine:

pip3 install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver 0.0.0.0:8000

Don't forget to run a local clean database first and change DATABASES in infomate/settings.py with a proper config

@jmontoya29
Copy link
Author

jmontoya29 commented Mar 14, 2024

thanks so much! that helped!

there's seems to be an issue with my docker app because it doesn't run through there but through the terminal its fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants