I am a beginner python programmer. I made a Telegram bot in Django framework. The bot's files are located in myapp/management/commands/bot.py. I am using 2 terminals on my computer to use both the bot and the Django administration on the local network. 1-terminal python manage.py bot. 2-terminal python manage.py runserver. I want to deploy this project in the digital ocean. What should I do for the Django administration and bot to work.Please help me!!!
Asked
Active
Viewed 279 times
1 Answers
0
It's a little bit not an easy task to do, you are have to deploy your Django app, you can check this tutorial from digital ocean:
then you are trying to create systemd
or service
or deamon
to achieve what you did in the 2nd terminal

B. Okba
- 1,021
- 12
- 16