Monday, July 30, 2012

Handy trick for using django runserver/testmaker on remote server

Thanks Bart for showing me how to have a local version of django running on my VPS.

On the VPS start django as required, eg

python runserver
python testmaker -a web

Now do this from a command line where is your vps ip:

ssh root@ -L 5984:localhost:8000 -N

enter the password and it should not come back with anything.

Now go to this URL and your website should start


No comments: