neo4j-graphacademy / app-python

https://graphacademy.neo4j.com/courses/app-python
58 stars 99 forks source link

http://localhost:3000 not working #19

Closed Sanchitkedia closed 7 months ago

Sanchitkedia commented 1 year ago

I have followed the python API course, but I am unable to see anything on http://localhost:3000/ I am using Gitpod Screenshot 2023-07-31 123408

teowave commented 1 year ago

When I ran my code, it gave me the port 5000 instead of 3000, and it works fine on 5000. Try that one

Sanchitkedia commented 1 year ago

Can you view all the movies and other content on the website? As http://localhost:5000/ also doesn't work for me

When I ran my code, it gave me the port 5000 instead of 3000, and it works fine on 5000. Try that one

adam-cowley commented 1 year ago

IIRC the port is hardcoded in the UI so you may need to run it on port 3000. You will be able to complete the code challenges without running the server and using the UI as they rely on the unit tests.

Sanchitkedia commented 1 year ago

I'm currently using the Gitpod workspace provided. How can I make any necessary changes?

adam-cowley commented 1 year ago

I would continue with using the tests to pass the course. The UI is just an aside.

If you want to run the UI you could also clone the repository locally, copy the .env.example file to .env, set the Neo4j credentials and then run flask run