Django

From XPUB & Lens-Based wiki
Revision as of 13:50, 9 April 2013 by Michael Murtaugh (talk | contribs) (Created page with "== Installing your django apps on Piet Zwart 3 == Ensure that you have a folder called "django" in your home folder (ie /home/YOURUSERNAME/django/). 1. Copy your Django proj...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing your django apps on Piet Zwart 3

Ensure that you have a folder called "django" in your home folder (ie /home/YOURUSERNAME/django/).

1. Copy your Django project (DJPROJECT) into that folder (ie /home/YOURUSERNAME/django/DJPROJECT/). 2. Create a "wsgi" file and name it DJPROJECT.wsgi and put it in the django folder (ie /home/YOURUSERNAME/django/DJPROJECT.wsgi) Inside the file should be like:

That should be it! To view the project/app, go to:

http://pzwart3.wdka.hro.nl/django/YOURUSERNAME/DJPROJECT/