2013-03-19 31 views
0

我無法將我的Django應用程序從github推送到Heroku。我已經同步App目錄中的文件。從那以後,我跟着this向Heroku推送應用程序的困難

  1. 從requirements.txt
  2. git的克隆添加您的git回購
  3. 取出的virtualenv == 1.8.4鑑於此過程。
  4. git的承諾-m「刪除的virtualenv要求
  5. 混帳推Heroku的主

一切正常高達步驟4執行後,它說

#On Branch master 
nothing to commit , working directory clean 

當我執行步驟5,我遇到這個錯誤,我不知道這是什麼意思,

$ git push heroku master 
Counting objects: 16, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (14/14), done. 
Writing objects: 100% (16/16), 5.63 KiB, done. 
Total 16 (delta 0), reused 0 (delta 0) 

!  Heroku push rejected, no Cedar-supported app detected 

To [email protected]:tranquil-bastion-1294.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:tranquil-bastion-1294.git' 

Kindly指導我做什麼,因爲這是我在Heroku上的第一次部署。謝謝。

+0

您是否製作要求的Heroku的環境變量? – Leonardo 2013-03-19 17:41:54

+0

@leonardo環境變量? – 2013-03-19 17:42:37

+0

您應該訪問heroku中的文檔https://devcenter.heroku.com/articles/django – Leonardo 2013-03-19 17:46:13

回答

相關問題