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: 257
I would like to create a python script, which will:
- Create a django project in the current directory. Fix
settings.py
,urls.py
. - Do
syncdb
- 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