-
Notifications
You must be signed in to change notification settings - Fork 3
debugging
Dan Bottomly edited this page Jul 28, 2015
·
4 revisions
- To run HitWalker2 in debugging mode go to the directory containing your Vagrant file and type
vagrant ssh
. - Go to the toplevel HitWalker2 directory
cd ~/HitWalker2
- Type
python manage.py runserver
.
As both Gunicorn
and the Django
developement server use port 8000 you should then be able to navigate to http:/{vagrant-ip}/HitWalker2/
in your browser as usual.
Output from from Python will be displayed on the console and you can interact with the various Python and web files using an appropriate editor.
- HitWalker2 can be updated by first getting the most up-to-date files from github and placing them in the Vagrant file directory.
- Assuming
HitWalker2
is a cloned directory from github you can usegit pull
to update it.
- Assuming
- Type
vagrant provision --provision-with=patch
to apply the new codebase to the Vagrant VM.