cf ssh
into a running application- Once in your running application, find the dependencies that were used for
running your Python application. They should be in a directory marked
deps/
.
- Once in your running application, find the dependencies that were used for
running your Python application. They should be in a directory marked
- Export the
$LD_LIBRARY_PATH
to include thelib/
directory found in thedeps/
directory.export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/vcap/deps/0/lib
. - Change directories into your Django app and run
python manage.py shell
At this point you should be in an interactive Django shell. Have fun