On Tue, Feb 8, 2011 at 5:26 PM, Dev@CB <[email protected]> wrote:
> Hello. I hope someone is maybe having a slow day and can spend a
> little time with me. Here's the whole story: Several months ago, our
> company started a django project. This project was headed by one man.
> Well, as of early January, he is no longer with the company. Now, we,
> the survivors, have the task of completing the project. Oh, little
> more background: Everything was set up on an Amazon cloud server. I
> think originally the project seemed simple enough to be run on a
> “small cloud”. So, here is where we are at now:  This one report
> actually turned out to be a monster and took several hours to run.
> That’s not good; that report needs to run in a few minutes with more
> data being processed. So, I created a “large cloud” (with AutoScaling,
> a feature not available to small clouds), installed Apache, PHP,
> MySQL, Python, and Django. I used SCP to copy the data from one server
> to another. Now, I need to align the configuration files to make it
> all work on the new server. This is where I need help. The small
> server was a Ubuntu distro and the large is a SUSE Enterprise 64-bit
> version, and some default paths and different things are not the same.
> I mentioned I did all the setup myself to give you the idea that I’m
> linux-savvy, but in truth, that was all a learning experience. I’m
> learning fast, but my supervisor wants all this done last week. Can
> anyone help me? At least give me a good push in the right directions,
> so that I can take off on my own again. Please?
>

Well, the first thing to see when deploying a django project is the
settings.py file. Here you'll see the database information.

Then the second step will be testing it (with the command python
manage.py runserver, it should start the development server, NOT for
using in production).

The last thing will see the Apache configuration, and it'll depend if
you're using wsgi or fcgi... More information here:
http://docs.djangoproject.com/en/dev/howto/deployment/
http://www.djangobook.com/en/beta/chapter21/

Hope it isn't that difficult, you can see the configs from the old
server, right?

Good luck!
Andres

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to