Re: Django inbuilt server

2019-04-03 Thread Saurabh Jaiswal
Django uses wsgi webservers by default.

On Wed, Apr 3, 2019 at 1:53 PM PASCUAL Eric  wrote:

> Hi,
>
> Chances are that you're thinking about "runserver", which is a management
> command. On Unix based systems (i.e. Linux or MacOS) you start it with :
>
> *./manage.py runserver*
>
> I'm not exactly sure about Windows, but it should be something as :
>
> *python manage.py runserver*
>
> Warning : as stressed in the documentation, this is not a server to be
> used in production and it is reserved to development and local tests.
>
> Eric
>
> --
> *From:* django-users@googlegroups.com  on
> behalf of primeshs...@cse.mrt.ac.lk 
> *Sent:* Tuesday, April 2, 2019 14:36
> *To:* Django users
> *Subject:* Django inbuilt server
>
> Hello, I'm a new django user. Can someone please tell me what is the name
> of django inbuilt server is? I went throughout the internet but I couldn't
> find a proper answer.
>
> Regards.
>
> --
> 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/1cd87cfb-9b2f-4b02-a2e0-4cb494318532%40googlegroups.com
> 
> .
> 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/AM0P193MB0308CFC1341078ACDCDBFF388C570%40AM0P193MB0308.EURP193.PROD.OUTLOOK.COM
> 
> .
> 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/CAOsmX4-GoHKCaTkgw4WnVdoFiPsr1Lp8wViOHXeGzgsH0yavqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hosting recommendations please

2019-04-03 Thread Saurabh Jaiswal
Hey Mike,
Launch a digital ocean droplet with plesk 17.08 with decent specs and you
can run all your three websites with ease on it on a single droplet.
You would have to setup apache mod_wsgi on it and you will be good to go.
If you need help do let me know.
I have been running my django projects without any hiccups.

On Wed, Apr 3, 2019 at 12:02 PM Mike Dewhirst  wrote:

> Thank you everyone for your recommendations. I have decided to see what
> DigitalOcean feels like.
>
> Cheers
>
> Mike
>
> On 2/04/2019 6:08 pm, Mike Dewhirst wrote:
> > I have to move three Django websites away from my current VM service
> > provider by the end of April because he is going out of the VM business.
> >
> > One is a plain Mezzanine CMS on one VM running Nginx/Gunicorn and the
> > other two are on the second VM running Apache and mod_wsgi.
> >
> > I'm most familiar with Ubuntu 16.04 and hope to go to 18.04.
> >
> > I think the RAM requirements are around 4GB for the Apache sites and
> > half that for Nginx. Haven't done any profiling.
> >
> > I'm in Australia. I'm after stability and reliability and if I'm
> > lucky, scalability.
> >
> > If you have any negative comments about providers please send them
> > off-list.
> >
> > Many thanks
> >
> > Mike
> >
> >
>
> --
> 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/d9f02ffd-7c55-3ce4-f5a6-40f499aaa52f%40dewhirst.com.au
> .
> 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/CAOsmX49ecqimKO2RnBYQUinp5Km8GpX0-QVu_OcTAj6K%3Dzfcdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgently need help with deploying django on plesk.

2019-04-01 Thread Saurabh Jaiswal
Got django running gracefully on plesk.
The issue was on the mod wsgi alias.


On Mon, Apr 1, 2019 at 8:43 AM Mike Dewhirst  wrote:

> On 1/04/2019 1:47 pm, Saurabh Jaiswal wrote:
> > Hey Mike,
> > I have access to the pesk server as root user.
> > I have been facing issue with the mod_wsgi setup process.
>
> Have you seen ... https://modwsgi.readthedocs.io/en/develop/
>
>
> >
> > On Mon, Apr 1, 2019 at 6:03 AM Mike Dewhirst  > <mailto:mi...@dewhirst.com.au>> wrote:
> >
> > On 1/04/2019 3:29 am, Saurabh Jaiswal wrote:
> > > Can someone please help me with deploying django on plesk onyx
> > 17.08.
> > > Been unsucessful trying to launch it.
> >
> > Plesk is written by and for sysadmins and php people to insulate them
> > from needing access to the machine. That means you won't gain easy
> > access unless you have a very friendly sysadmin willing to install
> > stuff
> > for you and happy to implement a system for ongoing software updates.
> > You need access to Apache config files and an ability to reload the
> > webserver. I would say it will be awkward at best and impossible at
> > worst. You might be able to use .htaccess files to tweak Apache to
> > suit
> > your needs
> >
> > I would be looking to find a VM and do it myself with root access or
> > find a Django-friendly hosting provider.
> >
> > My preference is the former.
> >
> > Good luck.
> >
> > Mike
> >
> > > --
> > > 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
> > <mailto:django-users%2bunsubscr...@googlegroups.com>
> > > <mailto:django-users+unsubscr...@googlegroups.com
> > <mailto:django-users%2bunsubscr...@googlegroups.com>>.
> > > To post to this group, send email to
> > django-users@googlegroups.com <mailto:django-users@googlegroups.com>
> > > <mailto:django-users@googlegroups.com
> > <mailto: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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com
> >
> > >
> > <
> https://groups.google.com/d/msgid/django-users/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.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
> > <mailto:django-users%2bunsubscr...@googlegroups.com>.
> > To post to this group, send email to django-users@googlegroups.com
> > <mailto: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/0342039b-cbd0-1df9-ec73-0c51dbb0850f%40dewhirst.com.au
> .
> > 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
> > <mailto:django-users+unsubscr...@googlegroups.com>.
> > To post to this group, send email to django-users@googlegroups.com
> > <mailto: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/CAOsmX49LfhN2wJdmywUyi3bUUcwiZ%2BTB4AxqgrY9tz1F2C-%2Byg%40mail.gmail.com
> > <
> https://groups.google.com/d/msgid/django-users/CAOsmX49LfhN2wJdmywUyi3bUUcwiZ%2BTB4AxqgrY9tz1F2C-%2Byg%40mail.gmail.com?utm_medium=email&utm_source=footer
> >.
> > For more options, visit https://grou

Re: Urgently need help with deploying django on plesk.

2019-03-31 Thread Saurabh Jaiswal
Hey Mike,
I have access to the pesk server as root user.
I have been facing issue with the mod_wsgi setup process.

On Mon, Apr 1, 2019 at 6:03 AM Mike Dewhirst  wrote:

> On 1/04/2019 3:29 am, Saurabh Jaiswal wrote:
> > Can someone please help me with deploying django on plesk onyx 17.08.
> > Been unsucessful trying to launch it.
>
> Plesk is written by and for sysadmins and php people to insulate them
> from needing access to the machine. That means you won't gain easy
> access unless you have a very friendly sysadmin willing to install stuff
> for you and happy to implement a system for ongoing software updates.
> You need access to Apache config files and an ability to reload the
> webserver. I would say it will be awkward at best and impossible at
> worst. You might be able to use .htaccess files to tweak Apache to suit
> your needs
>
> I would be looking to find a VM and do it myself with root access or
> find a Django-friendly hosting provider.
>
> My preference is the former.
>
> Good luck.
>
> Mike
>
> > --
> > 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
> > <mailto:django-users+unsubscr...@googlegroups.com>.
> > To post to this group, send email to django-users@googlegroups.com
> > <mailto: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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com
> > <
> https://groups.google.com/d/msgid/django-users/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.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/0342039b-cbd0-1df9-ec73-0c51dbb0850f%40dewhirst.com.au
> .
> 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/CAOsmX49LfhN2wJdmywUyi3bUUcwiZ%2BTB4AxqgrY9tz1F2C-%2Byg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Urgently need help with deploying django on plesk.

2019-03-31 Thread Saurabh Jaiswal
Can someone please help me with deploying django on plesk onyx 17.08.
Been unsucessful trying to launch it.

-- 
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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.