Spaces:
Running
Running
if [ -z $UPSTREAM_REPO ] | |
then | |
echo "Cloning main Repository" | |
git clone https://github.com/HarshalPurohitEdits/TheMovieProviderBot.git /TheMovieProviderBot | |
else | |
echo "Cloning Custom Repo from $UPSTREAM_REPO " | |
git clone $UPSTREAM_REPO /TheMovieProviderBot | |
fi | |
cd /TheMovieProviderBot | |
pip3 install -U -r requirements.txt | |
echo "Starting TheMovieProviderBot...." | |
python3 app.py | |
python3 bot.py | |