Spaces:
Building
Building
File size: 287 Bytes
d42f6dc 944eabe |
1 2 3 4 5 6 7 |
import os
TOKEN = os.getenv('TOKEN')
USERNAME = os.getenv('USERNAME')
REPO = os.getenv('REPO')
os.system(f"mkdir TerminalBot && cd TerminalBot && git clone https://{USERNAME}:{TOKEN}@github.com/{USERNAME}/{REPO}.git && cd {REPO} && pip3 install -r requirements.txt && python3 main.py") |