Jump to content

Recommended Posts

Posted

Hey

I'm trying to host a telegram bot in Python on Tommy2. I'm using these tutorials as a reference

https://wiki.helionet.org/tutorials/discord-bot

https://www.youtube.com/watch?v=6dww3CNK15o

I put my project inside `httpdocs` folder, changed permission to 755 and created `start.py` and `stop.py`

But a request to start the bot fails with 500. I think I' might be missing something most likely.

Should I change `.composer/.htaccess`? And what is the right path for my project in `start.py` script?

P.S

My project is public now. Fortunately I didn't copy secrets but how can I make this folder private?

 

Thanks in advance

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...