我正在尝试在Heroku上使用Python / Flask部署我的第一个应用程序.我真的不知道我在做什么,我只是在https://devcenter.heroku.com/articles/python#prerequisites处按照教程.当我输入命令heroku ps:scale web = 1我收到错误消息“没有这样的类型为web”.我的Procfile说web:python scrabble_cheater.py,我认为是正确的.这是我的终端的日志:
(venv)jason-olsens-macbook-pro:scrabble paulnichols$heroku status
=== Heroku Status
Development: No known issues at this time.
Production: No known issues at this time.
(venv)jason-olsens-macbook-pro:scrabble paulnichols$heroku config
=== enigmatic-mountain-1395 Config Vars
LANG: en_US.UTF-8
LD_LIBRARY_PATH: /app/.heroku/vendor/lib
LIBRARY_PATH: /app/.heroku/vendor/lib
PATH: /app/.heroku/venv/bin:/bin:/usr/local/bin:/usr/bin
PYTHONHASHSEED: random
PYTHONHOME: /app/.heroku/venv/
PYTHONPATH: /app/
PYTHONUNBUFFERED: true
(venv)jason-olsens-macbook-pro:scrabble paulnichols$heroku ps
(venv)jason-olsens-macbook-pro:scrabble paulnichols$git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Everything up-to-date
(venv)jason-olsens-macbook-pro:scrabble paulnichols$heroku ps:scale web=1
Scaling web processes... Failed
! No such type as web
(venv)jason-olsens-macbook-pro:scrabble paulnichols$
任何帮助是极大的赞赏!
最佳答案