Hi,
 I have a similar setup for my projects. What I do is:

   1. Create a new virtual environment for the project (
   https://virtualenv.pypa.io/en/stable/). Virtual environments make sure
   that each project that you deploy can have it's own set of dependencies
   that do not conflict with the other projects.
   2. Install your required libraries in the virtual environment
   3. Use uwsgi in the Emperor mode to configure and run each app. Within
   the uwsgi config you can give it the virtual environment to use.

With this way I run multiple Django apps, each with different requirements,
on the same server without any issues. This involves a bit of
configuration, which may be daunting if this is the first time you're doing
this. If so, please do ask and I'm sure we can guide you further as well.

The number of projects that can be run on one server is very much dependent
on what kind of projects you are running, and the kind of traffic your
applications handle. My suggestion is to slowly add 1 or 2 projects at a
time and monitor the server to make sure it isn't overloaded. If not,
repeat. Otherwise get another server and setup the rest of the projects on
that.

Regards,

Asad Jibran Ahmed <surfer...@gmail.com>
http://blog.asadjb.com

On Wed, Sep 7, 2016 at 5:28 PM, miarisoa sandy <sandymiari...@gmail.com>
wrote:

> Hi guys,
>
> I hope you are doing fine.
> I have googled it but no fruitful results.
> I am a newbie in django and I wonder what is the number maximum django
> that I can install in one server??
> I have a lot of projects that I would like to check with django ( one
> project -> one django) to avoid some confusion with each project (PHP
> project).
> Or what is the best way for me??
>
> The server is: Ubuntu 12.04, intel core i5 3.2Ghz, 4Go of RAM
>
> Waiting to hear from you, thanks for your help.
>
> Best
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/33008438-92bf-4283-ab52-b6909eb81193%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/33008438-92bf-4283-ab52-b6909eb81193%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BYYaWc3DiJ_jsww38p8kDtfktaWN354V64WOKntXkTeRraktQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to