This is home of Spend_Ya - Telegram bot for Ya.Hack.
P.S. Please, do not tell him that he is just a bot, he will never forgive you that 😏
make
# Then activate virtual environment by instruction in output
# For Linux or OS X:
. venv/bin/activate
# For Windows (under Cygwin)
venv/Scripts/activate.bat
# For Windows (under Mingw)
. venv/Scripts/activate
# Then install requirements
make pip
Before running locally copy config.example.py
from spend_ya_project
into new file config.py
and add your information:
cd spend_ya_project
cp config.example.py config.py
For running an application locally you could use of of these commands:
$ heroku local web
or
$ python manage.py runserver 0.0.0.0:5000
Your app should now be running on localhost:5000.
For deactivate virtual environment follow next command:
deactivate
If it doesn't work, try with source
:
source deactivate
For more information about using Python on Heroku, see these Dev Center articles: