Viene visualizzato questo errore ([Errno 2] Nessun file o directory di questo tipo) dopo aver premuto il repository su heroku master. Ecco i miei log.Django Deploy using Heroku - [Errno 2] Nessun file o directory di questo tipo
2012-04-17T18:24:53+00:00 app[web.1]: python: can't open file '/test/project/manage.py': [Errno 2] No such file or directory
2012-04-17T18:24:54+00:00 heroku[web.1]: Process exited with status 2
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from starting to crashed
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from crashed to created
2012-04-17T18:24:54+00:00 heroku[web.1]: State changed from created to starting
2012-04-17T18:24:57+00:00 heroku[web.1]: Starting process with command python /test/project/manage.py runserver 0.0.0.0:4473 --noreload 2012-04-17T18:24:57+00:00 app[web.1]: python: can't open file '/test/project/manage.py': [Errno 2] No such file or directory
mio Procfile è simile al seguente:
web: python /test/project/manage.py runserver 0.0.0.0:$PORT --noreload
Non so il motivo per cui non è possibile aprire il file. Si apre bene quando sto usando il mio server di sviluppo. Qualche idea? Grazie per aver letto.
Are stai spingendo il ramo principale del tuo repository locale? – ryudice
Penso di sì.Se faccio git branch l'unica cosa che vedo è * master – Zach