django deployment apache

Posted by Uszy Wieloryba on Stack Overflow See other posts from Stack Overflow or by Uszy Wieloryba
Published on 2010-03-10T17:58:00Z Indexed on 2010/03/15 11:49 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

I would like to create a python script, which will:

  1. Create a django project in the current directory. Fix settings.py, urls.py.
  2. Do syncdb
  3. Install new apache instance listening on specific port (command line argument), with WSGI configured to serve my project.

I can't figure out how to do point 3.

EDIT:

Peter Rowell:

  • I need the solution for both Linux and Windows
  • I have root access
  • This is a dedicated host
  • Apache only

© Stack Overflow or respective owner

Related posts about python

Related posts about apache