Django deployment

2009-06-03 Thread vishy
Hi, I am developing an application on windows. I decided to upload it on webfaction n see how deployment goes. The issues I faced was with paths given - for templates - I had given absolute path of directory on windows, for database(using sqlite) - just the name.But, for deployment I had to chang

DJango Deployment

2010-06-01 Thread PM
Hi , I am new to Django. I have developed a tool using Python CGI. I have been successfully deploying it using Apache Tomcat 5.5, from cgi/bin directory. After knowing the benefits of Django I have planned to complete the remaining modules using Django

django deployment

2011-05-19 Thread Praveen Krishna R
*Hey, * * * *This Regarding the static file serving, What I understood, after reading some docs on the internet is,* * * *Keep a server like Nginx as a front end proxy infront of Apache, and nginx also serves the Static Files, * *(please correct me if I am wrong.) * * * *My Question is If I use th

Django deployment

2015-09-15 Thread Hugo Kitano
Hi, I'm a Django newbie, and I'm trying to decide how to deploy my small Django project. I've read into a few options, but I keep hearing that Django deployment is unnecessarily difficult. For a website with very little traffic, and for somebody who's new to it all, wha

Django deployment

2018-03-24 Thread Goran Radanovic
I have set up a server with Ubuntu, Nginx, uwisg, Postgres and Django. I got this part figured out its running multiple sites with each of its own virtalenv. My development is on Windows 10 and pycharm, what I haven't figured out is how I can develop in pyCharm and then deploy to my server. D

Django Deployment.

2023-06-24 Thread Thomas Mutavi
Hello team, Please recommend an article or a tutorial on Django deployment on windows server 2016 using either IIS or Apache. If you know the whole process you can also share. Thanks -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django deployment

2009-06-03 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-06-03, o godz. 10:16, przez vishy: > I am developing an application on windows. I decided to upload it on > webfaction n see how deployment goes. The issues I faced was with > paths given - > for templates - I had given absolute path of directory on windows, > for d

Re: Django deployment

2009-06-03 Thread Daniel Roseman
On Jun 3, 9:16 am, vishy wrote: > Hi, > > I am developing an application on windows. I decided to upload it on > webfaction n see how deployment goes. The issues I faced was with > paths given - > for templates - I had given absolute path of directory on windows, > for database(using sqlite) - ju

Re: Django deployment

2009-06-03 Thread Jashugan
On Jun 3, 1:16 am, vishy wrote: > for templates - I had given absolute path of directory on windows, > for database(using sqlite) - just the name.But, for deployment I had > to change both the paths. Is there any way which I can avoid this? > > thanks Another method is to sniff the hostname: fr

Re: Django deployment

2009-06-03 Thread Kegan Gan
This is how I did it. You have have a settings_default.py, which contains all the commons settings. In your development environment, you use settings.py that has this on the top ... from settings_defaults import * ... then you overwrite whatever setting variables that are needed for your develo

Re: Django deployment

2009-06-04 Thread AmanKow
On Jun 3, 4:16 am, vishy wrote: > Hi, > > I am developing an application on windows. I decided to upload it on > webfaction n see how deployment goes. The issues I faced was with > paths given - > for templates - I had given absolute path of directory on windows, > for database(using sqlite) -

Re: DJango Deployment

2010-06-01 Thread Thomas Guettler
Hi, why do you use tomcat or mod_python? Please try mod_wsgi, if you use apache. Thomas PM wrote: > Hi , >I am new to Django. > >I have developed a tool using > Python CGI. I have been successfully deploying it using Apache Tomcat > 5.5, from cg

Re: django deployment

2011-05-19 Thread Shawn Milochik
There are a lot of options for this. One way is as you described. Another would be to serve the images from another server entirely, like Amazon's S3. It depends on how you want to do it and what resources you have available. If you specifically want to know whether there are additional advan

Re: django deployment

2011-05-19 Thread Eric Chamberlain
On May 19, 2011, at 11:40 AM, Shawn Milochik wrote: > There are a lot of options for this. > > One way is as you described. Another would be to serve the images from > another server entirely, like Amazon's S3. > > It depends on how you want to do it and what resources you have available. > >

Re: django deployment

2011-05-19 Thread Shawn Milochik
#x27;ll also refer you to this blog post by Eric Holscher: http://ericholscher.com/blog/2010/aug/16/lessons-learned-dash-easy-django-deployment/ Add a dash of supervisord to the above and you're golden, in my opinion. Shawn -- You received this message because you are subscribed to the Goog

Django deployment questions

2012-09-01 Thread Mike
I just started to use Fabric to automate my deployments to my staging server. (and when I'm ready, to the production server as well). I have just a few questions for more experienced folks: Do you clone your whole git repository onto your server, or upload a new archive each time you release?

Re: Django deployment

2015-09-15 Thread Shawn Milochik
It's very simple. Just follow these instructions: http://milocast.com/flasknginx.html Instead of the final line (gunicorn filename:appname -b 127.0.0.1:), use this: ./manage.py run_gunicorn -b 127.0.0.1: -- You received this message because you are subscribed to the Google Groups "Dj

Re: Django deployment

2015-09-15 Thread Michiel Overtoom
Hi Hugo, > I keep hearing that Django deployment is unnecessarily difficult. Who says this? And what are the reasons they give for it? > For a website with very little traffic, and for somebody who's new to it all, > what is the best way to deploy? And how should I go about dep

Re: Django deployment

2015-09-15 Thread Nikolas Stevenson-Molnar
app. On 9/15/2015 1:02:36 PM, Michiel Overtoom wrote: Hi Hugo, > I keep hearing that Django deployment is unnecessarily difficult. Who says this? And what are the reasons they give for it? > For a website with very little traffic, and for somebody who's new to it all, > what is the b

Re: Django deployment

2015-09-15 Thread Tim Chase
On 2015-09-15 22:02, Michiel Overtoom wrote: > > I keep hearing that Django deployment is unnecessarily > > difficult. > > Who says this? And what are the reasons they give for it? I wouldn't say it's *unnecessarily* difficult, but compared to "dump a pile of

Re: Django deployment

2015-09-16 Thread bobhaugen
t; On 9/15/2015 1:02:36 PM, Michiel Overtoom > > wrote: > Hi Hugo, > > > I keep hearing that Django deployment is unnecessarily difficult. > > Who says this? And what are the reasons they give for it? > > > > For a website with very little traffic, and for somebo

Re: Django deployment

2015-09-16 Thread Daniel Chimeno
El miércoles, 16 de septiembre de 2015, 15:20:32 (UTC+2), bobhaugen escribió: > > You gotta give PHP credit here. They did deployment better than anybody. > +1 > Django as a community could stand to put more concentrated work into > deployment. > That was my unique constraint in the last Dja

Re: Django deployment

2015-09-16 Thread 'Tom Evans' via Django users
On Wed, Sep 16, 2015 at 2:20 PM, bobhaugen wrote: > You gotta give PHP credit here. They did deployment better than anybody. > I'd disagree massively. Deploying code is not the same as ftping a bunch of files in to a directory and hoping for the best. Where is the repeatability, rollback etc? >

Re: Django deployment

2015-09-17 Thread Hugo Kitano
i Hugo, > > > I keep hearing that Django deployment is unnecessarily difficult. > > Who says this? And what are the reasons they give for it? > > > > For a website with very little traffic, and for somebody who's new to it > all, what is the best way to depl

Re: Django deployment

2015-09-17 Thread Hugo Kitano
What is the nginx config? And where do I find it? On Tuesday, September 15, 2015 at 12:46:40 PM UTC-7, Shawn Milochik wrote: > > It's very simple. Just follow these instructions: > > http://milocast.com/flasknginx.html > > Instead of the final line (gunicorn filename:appname -b 127.0.0.1:), >

Re: Django deployment

2015-09-18 Thread Mario Gudelj
Try this guide http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ On 18 Sep 2015 6:55 am, "Hugo Kitano" wrote: > What is the nginx config? And where do I find it? > > On Tuesday, September 15, 2015 at 12:46:40 PM UTC-7, Shawn Milochik wrote: >> >> It's very si

Re: Django deployment

2015-09-18 Thread monoBOT
The guide Mario Gudelj shared is probably the best you can find on internet. 2015-09-18 21:06 GMT+01:00 Mario Gudelj : > Try this guide > http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ > On 18 Sep 2015 6:55 am, "Hugo Kitano" wrote: > >> What is the nginx

Re: Django deployment

2015-09-18 Thread Javier Guerra Giraldez
On Fri, Sep 18, 2015 at 4:51 PM, monoBOT wrote: > The guide Mario Gudelj shared is probably the best you can find on internet. (the best if you like gunicorn) -- Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Django deployment options

2007-09-19 Thread Steve Potter
I currently have a dedicated server running a Cpanel installation with several virtual hosts. I would like to install Django on this server and as far as I can tell, I have several options. 1. Add mod_python to existing Apache installation 2. Add FastCGI to existing Apache installation 3. In

Django deployment tools?

2006-08-30 Thread Rob Hudson
Is there a Capistrano-like tool for Django, written in Python? http://manuals.rubyonrails.com/read/book/17 I know Capistrano can deploy other things -- it doesn't have to be Rails apps. But a tool written in Python would lower the dependencies we have to maintain in house, and know. Thanks, Rob

Re: Django deployment

2018-03-24 Thread graeme
On Saturday, March 24, 2018 at 12:42:52 PM UTC, Goran Radanovic wrote: > > I have set up a server with Ubuntu, Nginx, uwisg, Postgres and Django. I > got this part figured out its running multiple sites with each of its own > virtalenv. > > My development is on Windows 10 and pycharm, what I h

Re: Django deployment

2018-03-24 Thread Dylan Reinhold
First off nothing wrong with using your windows 10 box for development. Now using sqllite for your test could lead to issues when you go to deploy. I am guilty of doing to also some times. But here is my deployment flow: Develop on my laptop, check my changes into git Push my changes to github o

Re: Django deployment

2018-03-25 Thread Derek Zeng
You may want to check out http://www.fabfile.org It's a fairly popular deployment tool for Python projects. It doesn't really matter what your local dev environment, but for the server it's relatively easier if it's Linux. -- You received this message because you are subscribed to the Google G

Best Django Deployment

2020-01-22 Thread Motaz Hejaze
Hey Friends! I want to ask what is the best Django deployment stack to increase the request/per/second rate ?? does Nginx have better performance than apache ? What about Gunicorn and other alternatives ? thank you very much -- You received this message because you are subscribed to the

Best Django Deployment

2020-01-23 Thread Motaz Hejaze
Any help friends ? -- 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 view this discussion on the web visit https://g

Re: Django Deployment.

2023-06-24 Thread Steve Liu
Hey Maybe you can use Docker for it? On Sat, Jun 24, 2023 at 6:44 PM Thomas Mutavi wrote: > Hello team, > > Please recommend an article or a tutorial on Django deployment on windows > server 2016 using either IIS or Apache. If you know the whole process you > can also sh

Re: Django Deployment.

2023-06-25 Thread David Nugent
; >> Please recommend an article or a tutorial on Django deployment on windows >> server 2016 using either IIS or Apache. If you know the whole process you >> can also share. >> >> Thanks >> >> -- >> You received this message because you are subscribed t

Django deployment with buildout

2008-06-06 Thread msaelices
Buildout [1] is a great tool for deployment of projects created by zope3 and used in other projects like Plone. It is based on python "recipes" which could install whatever. I just created a project for easily deploy django in three possible configurations: * Apache + mod_python * Apache + mo

Re: Django deployment questions

2012-09-02 Thread Phang Mulianto
Hi, i just use git only, create Gits bare repo in the server , upload via git push [ssh of course] , then use the hook/post-update script to pull the git in the production code. so only change/ updated part in the code got uploaded. save Bandwidth, and also reduce error, also faster deploy. for

Re: Django deployment questions

2012-09-02 Thread Mike
On Sunday, September 2, 2012 10:29:52 AM UTC+2, Mulianto wrote: > > Hi, > > i just use git only, create Gits bare repo in the server , upload via git > push [ssh of course] , then use the hook/post-update script to pull the git > in the production code. > > thats a good idea, I forgot about th

Re: Django deployment questions

2012-09-03 Thread Matt Stevens
Hi Mike, I think this is a matter of preference. I've always cloned the entire repository - new features can go live by simply checking out a new branch, if something goes wrong I can just checkout the (stable) master branch again. I can also see if any boxes are out of sync with the current c

Re: Django deployment questions

2012-09-03 Thread Matt Stevens
One more thing, my repositories are usually quite small. My virtualenv and static file directories are in my .gitignore, so they're never included. So cloning an entire repo isn't a big deal and disk space itself is very rarely a problem (and when it is, it's not down to the size of the repo).

Re: Django deployment questions

2012-09-04 Thread Stephen Anto
Hi Guys, For Django related questions and answers Pls visit http://www.f2finterview.com/web/Django/ On Sunday, September 2, 2012 10:37:03 AM UTC+5:30, Mike wrote: > > I just started to use Fabric to automate my deployments to my staging > server. (and w

Re: Django deployment options

2007-09-19 Thread Peter Baumgartner
On 9/19/07, Steve Potter <[EMAIL PROTECTED]> wrote: > > I currently have a dedicated server running a Cpanel installation with > several virtual hosts. I would like to install Django on this server > and as far as I can tell, I have several options. > > 1. Add mod_python to existing Apache inst

Re: Django deployment options

2007-09-19 Thread Graham Dumpleton
On Sep 20, 8:03 am, "Peter Baumgartner" <[EMAIL PROTECTED]> wrote: > On 9/19/07, Steve Potter <[EMAIL PROTECTED]> wrote: > > > I currently have a dedicated server running a Cpanel installation with > > several virtual hosts. I would like to install Django on this server > > and as far as I can t

Re: Django deployment options

2007-09-19 Thread Steve Potter
> > 5. Use a different server. > > Unless you are on what cPanel calls the bleeding edge, you're running > Apache 1.3 which is useless for serving Django. That leaves you with > either #3 or #4. #3 has issues because cPanel wants to bind Apache to > all IP addresses. I had issues (though I didn't

Re: Django deployment options

2007-09-19 Thread Steve Potter
> > Django can be run fine under Apache 1.3 using mod_wsgi. > > The only issue is whether they do really allow you to add additional > Apache modules to the installation. > > Graham This is interesting... It is possible to install additional modules with cpanel, it just makes updating for new r

Re: Django deployment options

2007-09-19 Thread Kenneth Gonsalves
On 20-Sep-07, at 12:23 AM, Steve Potter wrote: > I'm already quite sure I don't want to install mod_python on the > existing Apache after reading all of the warnings about using the same > Apache to serve static documents and Django. I am not sure exactly what you mean by this. mod_python is th

Re: Django deployment options

2007-09-19 Thread Graham Dumpleton
On Sep 20, 12:16 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 20-Sep-07, at 12:23 AM, Steve Potter wrote: > > > I'm already quite sure I don't want to install mod_python on the > > existing Apache after reading all of the warnings about using the same > > Apache to serve static documents

Re: Django deployment options

2007-09-19 Thread Graham Dumpleton
On Sep 20, 10:28 am, Steve Potter <[EMAIL PROTECTED]> wrote: > > Django can be run fine under Apache 1.3 using mod_wsgi. > > > The only issue is whether they do really allow you to add additional > > Apache modules to the installation. > > > Graham > > This is interesting... It is possible to in

Re: Django deployment options

2007-09-19 Thread Kenneth Gonsalves
On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote: > All those warnings about using the same Apache to serve static > documents as Django are generally totally meaningless to the average > user. This is because the load on an average Apache site is no where > near enough for it to be of concern.

Re: Django deployment options

2007-09-19 Thread Graham Dumpleton
On Sep 20, 12:52 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote: > > > All those warnings about using the same Apache to serve static > > documents as Django are generally totally meaningless to the average > > user. This is because the load on

Re: Django deployment options

2007-09-19 Thread Kenneth Gonsalves
On 20-Sep-07, at 9:01 AM, Graham Dumpleton wrote: >> one caveat here - if you are running a site on shared hosting with >> soft RAM limit - like the 40 MB webfaction account, then it is wise >> to bypass mod_python for media to avoid those nasty monday morning >> mails about exceeding your limit

Re: Django deployment tools?

2006-08-30 Thread [EMAIL PROTECTED]
You may want to look at this: http://pythonpaste.org/deploy/ --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To uns

Re: Django deployment tools?

2006-08-30 Thread Joseph Heck
Have you used it for your own deploys? I'm curious how well it worked for you.-joeOn 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:You may want to look at this:   http://pythonpaste.org/deploy/--Nick --~--~-~--~~~---~--~~ You received this message because yo

Re: Django deployment tools?

2006-08-30 Thread [EMAIL PROTECTED]
Joseph Heck wrote: > Have you used it for your own deploys? I'm curious how well it worked for > you. I looked at it, but decided to roll my own tools for now. --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: Django deployment tools?

2006-08-31 Thread Rob Hudson
It looks like there was some work done with the django.conf.settings to make it more paste friendly: http://code.djangoproject.com/ticket/1212 http://code.djangoproject.com/ticket/1214 There's also Django Paste that I found: http://pythonpaste.org/djangopaste/ Which doesn't appear to be up to da

Re: Django deployment tools?

2006-08-31 Thread gabor
[EMAIL PROTECTED] wrote: > Joseph Heck wrote: >> Have you used it for your own deploys? I'm curious how well it worked for >> you. > > I looked at it, but decided to roll my own tools for now. > hi... could you tell us what kind of tools did you write? because i'm also at a similar situation

Re: Best Django Deployment

2020-01-23 Thread Aldian Fazrihady
Google AppEngine fFex will handle everything for you, but for my requirement, the price is too expensive, so I don't use it and I also don't use any Google cloud product to host my Django app. If your app code is not efficient, it means it will use more resources, then the monthly bill of AppEngine

Re: Best Django Deployment

2020-01-23 Thread onlinejudge95
+1 on the question. Mainly whether the Apache + modWSGI or Nginx is the better way to go. On Fri, Jan 24, 2020, 7:41 AM Aldian Fazrihady wrote: > Google AppEngine fFex will handle everything for you, but for my > requirement, the price is too expensive, so I don't use it and I also don't > use a

Re: Best Django Deployment

2020-01-23 Thread Mike Dewhirst
On 24/01/2020 3:14 pm, onlinejudge95 wrote: +1 on the question. Mainly whether the Apache + modWSGI or Nginx is the better way to go. I use Apache + modWSGI because I'm familiar with it. I also run a Mezzanine site which uses Gunicorn + nginx and the setup wasn't difficult. I don't think per

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
I found this comparison on a blog .. Apache vs Nginx https://www.hostingadvice.com/how-to/nginx-vs-apache/ -- 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 djan

Re: Best Django Deployment

2020-01-25 Thread Nick Sarbicki
I've used nginx+gunicorn/uwsgi, Apache+modwsgi, Google app engine flex, Google app engine standard, heroku, kubernetes on various cloud platforms, elastic beanstalk deployments and various others. Realistically I don't think there is a "best" way. It all depends on your environment, what you're wo

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
Guys thank you all for all your answers .. I think i'll go with Nginx rather than Apache , Apache seems to have more options , but also seems old , complicated and heavy ! Now i want to consider which layer of integration with web server to use , i.e should i user Nginx/Gunicorn or Nginx/uwsgi ??

Re: Best Django Deployment

2020-01-25 Thread Nick Sarbicki
As far as I'm aware the performance difference between gunicorn and uwsgi is minimal. I prefer gunicorn but I have no real rationale for why. For ASGI Vs WSGI, WSGI is the historical standard most things are built on so is by far the easiest to start with. ASGI requires a fundamental change in how

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
They talking about making django asynchronous nature by the version 3.3 .. i can see that asynchronous model is high speed and performance like in node.js i don't know if that will be applicable to django On Sat, Jan 25, 2020 at 4:08 PM Nick Sarbicki wrote: > As far as I'm aware the performance

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
https://github.com/andrewgodwin/deps/blob/async/draft/0009-async.rst#the-orm On Sat, Jan 25, 2020 at 4:50 PM Motaz Hejaze wrote: > They talking about making django asynchronous nature by the version 3.3 .. > i can see that asynchronous model is high speed and performance like in > node.js > i do

Re: Best Django Deployment

2020-01-25 Thread aakansha jain
Can anyone tell me how to run the django development environment so that I can contribute to Django. On Wed, Jan 22, 2020 at 10:09 PM Motaz Hejaze wrote: > Hey Friends! > > I want to ask what is the best Django deployment stack to increase the > request/per/second rate ?? > &g

Re: Best Django Deployment

2020-01-25 Thread aakansha jain
Can anyone tell me how to run the django development environment so that I can contribute to Django. On Wednesday, January 22, 2020 at 10:08:53 PM UTC+5:30, Motaz Hejaze wrote: > > Hey Friends! > > I want to ask what is the best Django deployment stack to increase the > request/

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
08:53 PM UTC+5:30, Motaz Hejaze wrote: >> >> Hey Friends! >> >> I want to ask what is the best Django deployment stack to increase the >> request/per/second rate ?? >> >> does Nginx have better performance than apache ? >> >> What about Gunicor

Django deployment with .htacess

2020-01-30 Thread Perceval Maturure
Hi All Is there anyone who has used .htacess to deploy a Django website on a server you do not have access to the apache2 conf file. ? Please share the tricks Regards Perceval -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Django deployment with buildout

2008-06-06 Thread Graham Dumpleton
How about having a go at Apache + mod_wsgi? Graham On Jun 7, 1:06 pm, msaelices <[EMAIL PROTECTED]> wrote: > Buildout [1] is a great tool for deployment of projects created by > zope3 and used in other projects like Plone. It is based on python > "recipes" which could install whatever. > > I jus

Django Deployment Statistics (via djangosites.org)

2011-01-22 Thread Ross Poulton
Hello fellow Django users, A long time ago I started collecting deployment information from Django users submitting their websites to www.djangosites.org. I promised at the time to make the stats public, and although i've shared them with a few I've never made it public that the stats are availabl

Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread [EMAIL PROTECTED]
I'm trying to push a beta build of an App I wrote to my Apache server but, I'm running into some problems (I'm pretty sure it's permission related) Here's the details. httpd.conf [code] SetHandler python-program PythonPath "['/home/thebest/TheBest/alpha1'] + sys.path" PythonHandler django.co

Django deployment à lá Capistrano

2007-09-09 Thread Chris Hoeppner
Hi there, This is just to make it a bit more obvious. I've decided to make up a python application similar to Capistrano, for Django. I plan it to be similar in the sense of "it uses the same goal, and a few same ideas", and it's not going to be a port of Capistrano to Python. I've called this p

NGINX AND DJANGO DEPLOYMENT ISSUE

2021-04-18 Thread Sunday Iyanu Ajayi
Hi Team Please I am having serious issue with my nginx server. At midnight when the traffic on the server is at it peak, my server spikes and I get 502 error and from the nginx error log, I get : upstream prematurely closed connection while reading response header from upstream upstream timed o

Re: Django deployment with .htacess

2020-01-30 Thread Motaz Hejaze
I dont think that will work for django ! On Thu, 30 Jan 2020, 10:07 pm Perceval Maturure, wrote: > Hi All > Is there anyone who has used .htacess to deploy a Django website on a > server you do not have access to the apache2 conf file. ? > > Please share the tricks > Regards > Perceval > > -- >

Django deployment on local host

2022-12-14 Thread Tinashe Mphisa
I have been looking for clear article or video on how to deploy Django on local server with no luck. i would appreciate it if I can get a link or any kind of help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Django Deployment Methods: Survey (via DjangoSites)

2009-04-07 Thread Ross Poulton
age. In the meantime I'll post numbers to my blog as time permits. For more detail about what I'm doing and why, see my blog post from last night[4]. For any questions don't hesitate to respond here or via e-mail, r...@rossp.org. With any luck we'll have some neat statistics

django deployment using apache and mod_wsgi

2009-10-23 Thread Dhruv Adhia
I have complete application working on localhost and now I want to deploy that so other of my teammates can use it. I have centos, apache, python 2.5 django 1.1.1 I have my django project at /var/www/html/ipwn/carbon_chaos inside carbon_chaos folder I created apache folder and inside apache fol

Re: Django Deployment Statistics (via djangosites.org)

2011-01-22 Thread Shawn Milochik
Cool. I just submitted a couple of sites myself. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@

Re: Django Deployment Statistics (via djangosites.org)

2011-01-22 Thread Graham Dumpleton
For each category, is there a list to choose from or up to people to enter in right name? Is odd that uWSGI doesn't even get a mention for serving method. Either way, very interesting and will be more interesting to see over time what take up of Tornado and gunicorn is, especially with the majo

Re: Django Deployment Statistics (via djangosites.org)

2011-01-23 Thread Aryeh Leib Taurog
On Jan 23, 7:03 am, Ross Poulton wrote: > Hello fellow Django users, > > A long time ago I started collecting deployment information from > Django users submitting their websites towww.djangosites.org. I > promised at the time to make the stats public, and although i've > shared them with a few I'

Re: Django Deployment Statistics (via djangosites.org)

2011-01-24 Thread Ross Poulton
On Jan 23, 4:11 pm, Shawn Milochik wrote: > Cool. I just submitted a couple of sites myself. Along with a bunch of others - looks like this post caused a flurry of new submissions & updates to existing listings :) On Jan 23, 5:27 pm, Graham Dumpleton wrote: > For each category, is there a list

Re: Django Deployment Statistics (via djangosites.org)

2011-01-24 Thread Graham Dumpleton
On Monday, January 24, 2011 7:17:24 PM UTC+11, Ross Poulton wrote: > > On Jan 23, 4:11 pm, Shawn Milochik wrote: > > Cool. I just submitted a couple of sites myself. > > Along with a bunch of others - looks like this post caused a flurry of > new submissions & updates to existing listings :)

Re: Django Deployment Statistics (via djangosites.org)

2011-01-24 Thread Ross Poulton
That was added a few months (or more?) back after some users emailed me asking me to add "wsgi" to the list. Admittedly in hindsight it's a little vague and has probably ended up being a catch-all for "wsgi: other". -- You received this message because you are subscribed to the Google Groups

django deployment in a virtual machine.

2015-02-24 Thread dk
I got a virtual machine with Linux centos that we are going to use for our django webpage. that machine will have the html service on. so when people go to the computer typing the IP, will show them the webpage. is there any special trick to do? like make a service that lunch manage.py with th

Django deployment - problems with static files

2014-02-07 Thread bhudspeth60
Hello, I am trying to deploy a new Django website where I am trying to point to many css, js, image, pdf files, etc. Everything works well in the development setup. Basically, I am using a mod-wsgi setup in Apache, and Django version 1.5 on Ubuntu linux 12.10. The application is served with th

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Joseph Heck
What user does apache run as - set group read permissions (at least) to that. If you're using Ubuntu or Debian, it is likely "www-data", so the following commands (as root) would do the trick: chgrp -R www-data /home/thebest/TheBest/ chmod -R g+r /home/thebest/TheBest/ -joe On 6/6/07, [EMAIL P

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread ATLBeer
Apache is running under the user/group apache I added chgrp'd apache to the directory (recursively) and chmod'd as well. Still the errors. I also added apache to the group bestx. This is the group that the user 'thebest' belongs to. On Jun 6, 6:07 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Joseph Heck
Well, it certainly looks right. I guess my next step in debugging would be to "act like the webserver" as much as possible to make sure I didn't miss anything. su - apache cd / export PYTHONPATH=/home/thebest/TheBest/alpha1 export DJANGO_SETTINGS_MODULE TheBest.settings django-admin.py validate

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread ATLBeer
I can't su into apache but, I can su into thebest (the user who 'own's' the application) export PYTHON_PATH=/home/thebest/TheBest/alpha1 export DJANGO_SETTINGS_MODULE=TheBest.settings django-admin.py validate TheBest.xappx: No module named xappx.models Interesting error... At least it's differe

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Don Arbow
On Wednesday, June 6, 2007, at 01:58 PM, [EMAIL PROTECTED] wrote: > > I'm trying to push a beta build of an App I wrote to my Apache server > but, I'm running into some problems (I'm pretty sure it's permission > related) > [code] > [EMAIL PROTECTED] alpha1]# ls -al > total 24 > drwxr-xr-x 3 the

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Michael Trier
Actually from what I can tell he has his path incorrect. If you have a structure like this: /home/thebest/TheBest Then you need to have your apache configuration like this: SetHandler python-program PythonPath "['/home/thebest'] + sys.path" PythonHandler django.core.handlers.modpython Set

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread ATLBeer
Yeah... the directory structure is confusing but, I'm pretty sure I have it correct [EMAIL PROTECTED] ~]# cd /home/thebest/TheBest/alpha1/TheBest/ [EMAIL PROTECTED] TheBest]# ls -l total 112 drwxr-xr-x 2 thebest apache 4096 Jun 6 15:35 CRON drwxr-xr-x 2 thebest apache 4096 Jun 6 15:30 x -rwxr-x

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Don Arbow
On Wednesday, June 6, 2007, at 04:45 PM, ATLBeer wrote: > Yeah... the directory structure is confusing but, I'm pretty sure I > have it correct > > [snip] > > /home/thebest/TheBest/alpha1/TheBest > /home/"username"/"container"/"build_version"/"django_project" Well, then, there's your problem. Y

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread ATLBeer
I copy and pasted your line into my httpd.conf RewriteEngine On SetHandler python-program PythonPath "['/home/thebest/TheBest/alpha1/TheBest'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE TheBest.settings PythonDebug On Still getting the same err

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Nate Straz
On Wed, Jun 06, 2007 at 10:41:15PM -, ATLBeer wrote: > TheBest.xappx: No module named xappx.models > > > > > > [EMAIL PROTECTED] TheBest]# ls -al > > > > > drwxr-xr-x 9 thebest bestx 4096 Jun 6 15:35 . > > > > > drwxr-xr-x 3 thebest bestx 4096 Jun 6 15:31 .. > > > > > drwxr-xr-x 2 thebest b

Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Dushyant Sharma
i am having the same problem i tried adding mysite.pth to site- packages folder now i can see the path in python as /root/workspace/ and /root/workspace/mysite settings.py is in mysite directory at /root/workspace also i have __init_.py there it show the same error but if i put the directory my

Re: Django Deployment Headache (Apache Permissions?)

2007-06-13 Thread John Morton
On Thursday 07 June 2007 08:58, [EMAIL PROTECTED] wrote: > I'm trying to push a beta build of an App I wrote to my Apache server > but, I'm running into some problems (I'm pretty sure it's permission > related) > > Here's the details. [snip] > /home/thebest/TheBest/alpha1/TheBest is the root

  1   2   3   >