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