andrey-yantsen / tlscontact-appointment-finder

MIT License
44 stars 13 forks source link

invalid syntax at docker-compose run #13

Closed yuhan1010 closed 1 year ago

yuhan1010 commented 1 year ago

docker-compose run -d selenium && sleep 20 ^ SyntaxError: invalid syntax

I installed all of the packages including docker-compose, but it seems not working, and I found that there is no command named "run".

could anyone help me to fix it by any chance? :)

andrey-yantsen commented 1 year ago

@yuhan1010 erm... can you show me all of what you're doing?

It looks like you're trying to run the command from the python REPL...

yuhan1010 commented 1 year ago

sry to disturb u, bro, and thx for helping.

yeah, it's my fault. I used python to run these commands this morning (the below one).

截屏2023-02-20 下午6 19 25

So I tried using shell command to run them, but also failed.

image

I have no idea which part I made mistakes. thx for helping.

andrey-yantsen commented 1 year ago

Do you have docker installed and running? Please confirm that docker info can be executed successfully.

yuhan1010 commented 1 year ago

Do you have docker installed and running? Please confirm that docker info can be executed successfully.

Thx for helping. I installed the desktop one, and it works.

But the command said there is a syntax error about telegram chat id. I'm sure the id is obtained following your tutorial.

image

andrey-yantsen commented 1 year ago

You need to replace whole arguments from the documentation. E.g. <TELEGRAM_CHAT_ID> must be replaced with the correct id; no braces should be left.

yuhan1010 commented 1 year ago

You need to replace whole arguments from the documentation. E.g. <TELEGRAM_CHAT_ID> must be replaced with the correct id; no braces should be left.

Cheers bro. I fix all of the probs. Just wait for the account frozen countdown :(

thx for helping.