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

Clarification on how to run the script #2

Open
HJassar opened this issue May 19, 2022 · 3 comments
Open

Clarification on how to run the script #2

HJassar opened this issue May 19, 2022 · 3 comments

Comments

@HJassar
Copy link

HJassar commented May 19, 2022

Hello,
First of all, amazing work! I have so much to learn!

I apologize if the question is too basic: I followed all the steps of installation but I'm not sure how I can actually "run" the code in a way that the Angular app can send requests to it.

Thank you very much!

@ArbazDev
Copy link

did you managed to make it work, having some problems on my side?

@HJassar
Copy link
Author

HJassar commented Sep 28, 2022

I have not, unfortunately. Let me know if you figure it out, please.

@JaxCastonguay
Copy link

JaxCastonguay commented Jan 4, 2023

(simplified explanation for future readers with less experience)
I would check first to see if everything is running correctly. you can do that by opening your terminal within the directory and entering "python main.py" (or "python3 main.py" depending on your python set up).

If everything is right you should see some questions printed out with answers and false answers. Then you can move to "run" the code like you want. For this just enter in your terminal "python api_gateway.py" (or "python3 api_gateway.py"). You should then see a message telling you the code is running until you press "ctrl+c".

I was having trouble with the Angular app, and I know very little of Angular. But I was able to use the API with Postman to prove it was work.

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

3 participants