這是我Django
項目結構:如何解決「推拒絕,沒有雪松支持的應用程序檢測到」錯誤的Heroku
Testing
|_djangoApp
|_Testing
| |-- __init__.py
| |-- settings.py
| |-- urls.py
| |-- utils.py
| |-- wsgi.py
|
|_manage.py
|_Procfile
|_requirements.txt
|_README.md
我使用codeship.io
部署構建和它推到Heroku
,這配置良好。在heroku
我已添加名爲「測試」的應用程序。
我試着用codeship
推動建立在Heroku
,但它給我以下錯誤:Procfile的
! Push rejected, no Cedar-supported app detected
To [email protected]:Testing.git
! [remote rejected] feca277a98c193c3b338ee1bd1406e6bc8f6b9e7 -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:Testing.git'
內容:requirements.txt的
web: gunicorn Testing.wsgi
內容:
Django==1.3.1
docutils==0.8.1
psycopg2==2.4.2
Fabric==1.3.2
South==0.7.3
gunicorn==0.13.4
newrelic==1.0.5.156
django-celery==2.4.2
django-kombu==0.9.4
django-storages==1.1.3
boto==2.1.1
pylibmc==1.2.2
django-pylibmc-sasl==0.2.4
django-sorting==0.1
django-guardian==1.0.3
django-pagination==1.0.7
pyst2==0.4
django-annoying==0.7.6
django-tastypie==0.9.11
django-coverage==1.2.1
django-nose==0.1.3
nosexcover==1.0.7
django-debug-toolbar==0.8.5
Sphinx==1.1.2
django-cache-machine==0.6
django-twilio
我剛從我的私人回購克隆我的項目Bitbucket
並添加了Procfile
以使兼容Heroku
。我試圖遵循官方文件,但它只是從頭開始。我在這裏錯過了什麼?需要幫忙!
'Procfile'和'requirements.txt'是否都是git並被推送? –
@YuvalAdam是的!他們都在同一個目錄 –
嗯......我不知道什麼是「codeship」,所以你應該檢查你的部署過程與官方文檔,你可能會在那裏找到你的答案。 –