我想将我的config.yml文件从我的本地django app目录复制到我的heroku服务器,但是我不知道如何获得heroku的user@host.com格式.
我试过运行'heroku run bash'
scp /home/user/app/config.yml
Run Code Online (Sandbox Code Playgroud)
我不确定我怎么能得到它
scp user@myhost.com:/home/user/dir1/file.txt user@myhost.com:/home/user/dir2'
Run Code Online (Sandbox Code Playgroud)
格式
我有一个简单的 django 应用程序,它可以在 localhost (Linux Mint) 上正常工作,但是当我将它部署到 Heroku 时,我看到一个包含此错误的页面:
应用程序错误 应用程序发生错误,无法提供您的页面。请稍后重试。如果您是应用程序所有者,请检查您的日志以了解详细信息。
我真的不知道我在这里做什么,我无法理解 heroku 日志的输出:
2015-01-03T22:14:05.143957+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 66, in wsgi
2015-01-03T22:14:06.121096+00:00 heroku[web.1]: Process exited with status 3
2015-01-03T22:14:06.130187+00:00 heroku[web.1]: State changed from starting to crashed
2015-01-03T22:14:49.601660+00:00 heroku[api]: Scale to web=1 by
2015-01-03T22:16:38.186074+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=********.herokuapp.com request_id=5f385bd5-2162-4997-83df-baa1f50f0ee5 fwd="76.219.245.151" dyno= connect= service= status=503 bytes=
2015-01-03T22:16:38.856915+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=********.herokuapp.com request_id=2249f496-af99-4eb9-a910-ea9a8c3c37f2 fwd="76.219.245.151" dyno= connect= service= status=503 bytes=
2015-01-03T22:16:50.618309+00:00 heroku[router]: at=error code=H10 desc="App …Run Code Online (Sandbox Code Playgroud)