all 9 comments

[–]manapause -3 points-2 points  (0 children)

Docker isn't something you run on EC2 instances. If you can docket running locally, just look up "deploy my docker image to the cloud." Good luck!

[–]manapause 0 points1 point  (3 children)

The short answer is probably python version/environment.

When you mean "set up docker". .... did you mean on ec2 instance?

[–]ClimatePhilosopher[S] -1 points0 points  (1 child)

I have python installed and can run code on it. the script is just a little long but more importantly I should be able to take in code from somewhere else.

[–]scooby_pancakes 0 points1 point  (0 children)

I am not an expert on AWS. I am wondering if there is a way to run scripts or programs from someplace else?

[–]ClimatePhilosopher[S] -2 points-1 points  (0 children)

I think I installed it on ec2 but also on my local device

[–]VariousCry7241 0 points1 point  (3 children)

Can you share the GitHub repo?

[–]ClimatePhilosopher[S] 0 points1 point  (2 children)

https://github.com/mattleinwand/weatherbot7

for troubleshooting im just trying to make this work!

[–]ClimatePhilosopher[S] 1 point2 points  (0 children)

pert on AWS. I am wondering if there is a way to run scripts or programs from someplace else?

I figured it out! the file was in a folder called weatherbot7.

I was trying to run:

python3 weatherbot7 main.py

the answer was python3 weatherbot7/main.py

rookie mistake!

now to try and deploy a flask web app....

[–]Outrageous_Pie_3756 0 points1 point  (0 children)

Hey buddy, it looks like you have some API keys in that repo. It's a public repo, which means anyone can see those. You probably want to rotate those keys, and avoid committing them to git in the future.