Re: Django Deployment.

2023-06-25 Thread David Nugent
Yep I would definitely opt for docker in this case, although it should be possible to use apache+mod_wsgi to do it also, just ... a lot more messy than a container if you already use/have docker (which is easy enough to install on win). Forget IIS for this purpose, it's probably possible but I hon

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 share. > > Thanks > > --

RE: Django deployment on local host

2022-12-14 Thread Mike Dewhirst
The essential difference between local and remote is how you access the website.You need all the same resources including web server, database server etc but you might need a local DNS so local users can find the server by name.You can always test using hosts files on the test machines so they c

Re: Django deployment on linux rhel 7

2020-07-13 Thread Ajish Gopinath
Try changing version of Bootstrap..4.0.0 On Sun 12 Jul, 2020, 8:33 PM Kasper Laudrup, wrote: > On July 12, 2020 4:41:31 PM GMT+02:00, Ashish General < > kumarashish2...@gmail.com> wrote: > >Hi Kasper, > > > >Thanks that link is good for reference but I just try to run run server > >with below co

Re: Django deployment on linux rhel 7

2020-07-12 Thread Kasper Laudrup
On July 12, 2020 4:41:31 PM GMT+02:00, Ashish General wrote: >Hi Kasper, > >Thanks that link is good for reference but I just try to run run server >with below command but bootstrap is not getting loaded. Same project on >win10 is loading bootstrap correctly. Can you help > Send your replies to

Re: Django deployment on linux rhel 7

2020-07-12 Thread Ajish Gopinath
Yes, I have installed and its working fine. On Sun, 12 Jul 2020 at 17:47, ashish goyal wrote: > Hi, > > Anyone done django deployment on linux rhel 7 and bootstrap working fine > with below command > python manage.py runserver > > Need help > > Thanks > Ashish > > -- > You received this message

Re: Django deployment on linux rhel 7

2020-07-12 Thread Kasper Laudrup
On July 12, 2020 2:16:19 PM GMT+02:00, ashish goyal wrote: >Hi, > >Anyone done django deployment on linux rhel 7 and bootstrap working >fine with below command >python manage.py runserver > >Need help > https://simpleisbetterthancomplex.com/tutorial/2017/05/23/how-to-deploy-a-django-application

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 > > -- >

Re: Django deployment on production gives error SuspiciousFileOperation

2018-12-19 Thread Devender Kumar
Use collectstatic command On Wed 19 Dec, 2018, 12:11 PM mohit basantani Hello pradeep > > I found the my mistake I was giving the hard coded path of the static > root which is wrong I have attached my settings.py file above now it's > working fine ...Thanks for your concern really appreciated! >

Re: Django deployment on production gives error SuspiciousFileOperation

2018-12-18 Thread mohit basantani
Hello pradeep I found the my mistake I was giving the hard coded path of the static root which is wrong I have attached my settings.py file above now it's working fine ...Thanks for your concern really appreciated! On Wed 19 Dec, 2018, 11:49 Pradeep Sukhwani, wrote: > Hi Mohit, > Can you pleas

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

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-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 showing list of directory

2017-10-19 Thread sarfaraz ahmed
This is been fixed On Monday, 8 May 2017 15:39:25 UTC+5:30, sarfaraz ahmed wrote: > > Hello Guys, > > After lot of struggle I understood there is no MOD_WSGI file available for > latest version of XAMP which is compiled in VC14. I am not sure how to > compile MOD_WSGI with VC 14 so I gave up > >

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
Hey Tom, Thanks, you rightly pointed out right security way to implement django. But currently I am facing issue with implementing whatever way I tried. Please suggest what is wrong in vhost file. Here is my host file. Please take a look WSGIPythonPath C:\Python27\Lib\site-packages ServerA

Re: Django Deployment showing list of directory

2017-05-08 Thread 'Tom Evans' via Django users
On Mon, May 8, 2017 at 11:08 AM, sarfaraz ahmed wrote: > Hello Guys, > [ .. ] > This is conf file for Apache > -- > > ServerAdmin

RE: Django Deployment showing list of directory

2017-05-08 Thread Matthew Pava
rfaraz ahmed Sent: Monday, May 8, 2017 10:09 AM To: django-users@googlegroups.com Subject: Re: Django Deployment showing list of directory Thanks for your reply This is how it looks like after all the changes made. WSGIPythonPath cannot be under virtua

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
ages where your dependencies are installed. > > > > *From:* django-users@googlegroups.com [mailto:django-users@ > googlegroups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Monday, May 8, 2017 9:28 AM > > *To:* django-users@googlegroups.com > *Subject:* Re: Django De

RE: Django Deployment showing list of directory

2017-05-08 Thread Matthew Pava
executable. It is to the site-packages where your dependencies are installed. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of sarfaraz ahmed Sent: Monday, May 8, 2017 9:28 AM To: django-users@googlegroups.com Subject: Re: Django Deployment showing list of

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
ups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Monday, May 8, 2017 9:13 AM > > *To:* django-users@googlegroups.com > *Subject:* Re: Django Deployment showing list of directory > > > > I am new to python 2.7 and I see python 3.6 is very different from 2.7. > > I tri

RE: Django Deployment showing list of directory

2017-05-08 Thread Matthew Pava
Subject: Re: Django Deployment showing list of directory I am new to python 2.7 and I see python 3.6 is very different from 2.7. I tried your suggestion. Now my vhost file looks like this WSGIScriptAlias / c:/Apache24/htdocs/testarhamcollections/project1/wsgi.py WSGIPythonPath c:/Apache24/htdocs

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
h ${project_path};${project_virtualenv}; > > > > > > *From:* django-users@googlegroups.com [mailto:django-users@ > googlegroups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Monday, May 8, 2017 8:21 AM > *To:* django-users@googlegroups.com > *Subject:* Re: Django Deployment show

RE: Django Deployment showing list of directory

2017-05-08 Thread Matthew Pava
: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of sarfaraz ahmed Sent: Monday, May 8, 2017 8:21 AM To: django-users@googlegroups.com Subject: Re: Django Deployment showing list of directory forgot to mention I m using python 2.7. If you look at link, there is not

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
forgot to mention I m using python 2.7. If you look at link, there is not mod_wsgi for python 2.7 with VC14 Regards, Sarfaraz Ahmed On 8 May 2017 at 18:44, Matthew Pava wrote: > Hi Sarfaraz, > > Here is a compiled version of mod_wsgi for VC14: > > http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_

RE: Django Deployment showing list of directory

2017-05-08 Thread Matthew Pava
Hi Sarfaraz, Here is a compiled version of mod_wsgi for VC14: http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of sarfaraz ahmed Sent: Monday, May 8, 2017 5:09 AM To: django-users@googlegroups.com Subject: D

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

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 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-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-17 Thread Hugo Kitano
I'm having trouble deciphering what a APPMODULE is: $(MODULE_NAME):$(VARIABLE_NAME) What does Module_Name and Variable_NAME refer to in the context of a Django project named "stats"? Thanks On Tuesday, September 15, 2015 at 1:02:59 PM UTC-7, Michiel Overtoom wrote: > > Hi Hugo, > > > I keep

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-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 bobhaugen
You gotta give PHP credit here. They did deployment better than anybody. Django as a community could stand to put more concentrated work into deployment. On Tuesday, September 15, 2015 at 3:27:49 PM UTC-5, Nikolas Stevenson-Molnar wrote: > > I second the nginx/gunicorn/django/supervisor stack.

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 PHP files on your FTP site", it's c

Re: Django deployment

2015-09-15 Thread Nikolas Stevenson-Molnar
I second the nginx/gunicorn/django/supervisor stack. I've used it many times; it's relatively easy to get everything installed and set up, and all the involved components are ready for prime time. I think the "difficult to set up" sentiment is probably in comparison to something like PHP. So ma

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 deploying! I can t

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 in a virtual machine.

2015-02-25 Thread felix
El 25/02/15 12:19, dk escribió: thanks guys, I installed Apache and I am setting everything, does my project really need to be in /etc/www/ No. It's even not recommended. or I can put anywhere in the computer? just making sure the apache.conf point to that address? Basic configuratio

Re: django deployment in a virtual machine.

2015-02-25 Thread James Schneider
I believe a2ensite is a Debian-specific shortcut that allows you to quickly enable/disable various site configurations through the use of symlinks. For CentOS you'll need to create a configuration file in your conf.d directory for your virtual host. I believe it will be included automatically by h

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
looks like centos7 doesn't have or need that, it comes with a folder call conf.d and if the .conf file I inside this folder, is like if was activate it. =) On Wednesday, February 25, 2015 at 1:01:57 PM UTC-6, Blazor wrote: > thanks I am watching >> https://www.youtube.com/watch?v=hBMVVruB

Re: django deployment in a virtual machine.

2015-02-25 Thread Blazor
> > thanks I am watching > https://www.youtube.com/watch?v=hBMVVruB9Vs > but i am stuck at min 20 since it say that I need to activate the website, > with a2ensite > they gave me a centos7 machine that doesn't have those commands. > a2ensite is basically a shortcut for creating a symbolic l

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
thanks I am watching https://www.youtube.com/watch?v=hBMVVruB9Vs but i am stuck at min 20 since it say that I need to activate the website, with a2ensite they gave me a centos7 machine that doesn't have those commands. On Wednesday, February 25, 2015 at 11:39:01 AM UTC-6, Andrew Farrell wrot

Re: django deployment in a virtual machine.

2015-02-25 Thread Andrew Farrell
Linode and Digital Ocean both have good tutorials on setting up a production deployment o

Re: django deployment in a virtual machine.

2015-02-25 Thread Rodrigo Zayit
anywhere Atenciosamente, Rodrigo de Oliveira On Wed, Feb 25, 2015 at 2:19 PM, dk wrote: > thanks guys, I installed Apache and I am setting everything, does my > project really need to be in /etc/www/ > > or I can put anywhere in the computer? just making sure the apache.conf > point to that a

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
thanks guys, I installed Apache and I am setting everything, does my project really need to be in /etc/www/ or I can put anywhere in the computer? just making sure the apache.conf point to that address? On Wednesday, February 25, 2015 at 6:29:25 AM UTC-6, Fernando Ramos wrote: > If there's

Re: django deployment in a virtual machine.

2015-02-25 Thread Fernando Ramos
If there's more than one person using it your site will only grow. The Django web server is meant for debugging, not production. Go the extra step and setup ngnix or another simple http server. You will thank yourself later. El martes, 24 de febrero de 2015, 14:49:16 (UTC-7), dk escribió: > > i

Re: django deployment in a virtual machine.

2015-02-25 Thread aRkadeFR
Hello there, It's always good to take a look at how prodding a django website. As George Silva said, you need nginx/apache or other. They will serve your media and static files. Then for the django server, you need to run it in uWSGI or another wsgi, and link it to your nginx/apache. http://uws

Re: django deployment in a virtual machine.

2015-02-24 Thread dk
its just a website with one link =) basicly shows one graph. and that's it. On Tuesday, February 24, 2015 at 3:41:14 PM UTC-6, george wrote: > not production i hope. > > in prod use nginx. if not on prod use runserver 0.0.0.0:8000 > Em 24/02/2015 18:37, "dk" > escreveu: > >> I got a virtual machi

Re: django deployment in a virtual machine.

2015-02-24 Thread George Silva
not production i hope. in prod use nginx. if not on prod use runserver 0.0.0.0:8000 Em 24/02/2015 18:37, "dk" escreveu: > 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

Re: Django deployment - problems with static files

2014-02-07 Thread Schmitt, Christian
You need to change the permissions of the static files that the webserver user could access those. 2014-02-07 18:29 GMT+01:00 : > 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 > developmen

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 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-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-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-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 practices -- do people use setup.py?

2012-04-27 Thread Daniel Sokolowski
From: Simon Bächler Sent: Friday, April 27, 2012 3:19 AM To: django-users@googlegroups.com Subject: Re: Django deployment practices -- do people use setup.py? Hi We have been using git and git submodules and just started using virtualenv and pip. Submodules works well but you need a git

Re: Django deployment practices -- do people use setup.py?

2012-04-27 Thread Simon Bächler
Hi > > We have been using git and git submodules and just started using virtualenv and pip. Submodules works well but you need a git repo of your packages. I wrote a blog post on using them: http://www.feinheit.ch/blog/2012/04/18/using-git-submodules/ Now we use pip for working packages like

Re: Django deployment practices -- do people use setup.py?

2012-04-26 Thread Andrew Cutler
On 27 April 2012 14:27, pritesh modi wrote: > > i am looking for same actually can u provide me information about that. i > think what i understand is here finally the .py code should not go at > deployment server and only compile code is going at server and run at > deployment server. > I thi

Re: Django deployment practices -- do people use setup.py?

2012-04-26 Thread pritesh modi
rew Cutler > Sent: Tuesday, April 24, 2012 8:21 AM > > To: django-users@googlegroups.com > Subject: Re: Django deployment practices -- do people use setup.py? > > On 24 April 2012 02:21, Daniel Sokolowski > > > wrote: > >> >> Both, system libraries and not pyt

Re: Django deployment practices -- do people use setup.py?

2012-04-25 Thread Daniel Sokolowski
Thank you for taking the time to explain; I've reached a similar 'readme' approach here but was hoping for a better solution. -Original Message- From: Andrew Cutler Sent: Tuesday, April 24, 2012 8:21 AM To: django-users@googlegroups.com Subject: Re: Django deployment

Re: Django deployment practices -- do people use setup.py?

2012-04-24 Thread Andrew Cutler
On 24 April 2012 02:21, Daniel Sokolowski wrote: > > Both, system libraries and not python files --- anything outside of Python > land that PIP can’t handle. How do you handle that if you want a self > contained easy to deploy project? Well then it's safe to assume that if it's not pure Python, o

Re: Django deployment practices -- do people use setup.py?

2012-04-23 Thread Daniel Sokolowski
Both, system libraries and not python files --- anything outside of Python land that PIP can’t handle. How do you handle that if you want a self contained easy to deploy project? From: Andrew Cutler Sent: Saturday, April 21, 2012 12:58 AM To: django-users@googlegroups.com Subject: Re: Django

Re: Django deployment practices -- do people use setup.py?

2012-04-20 Thread Andrew Cutler
On 18 April 2012 23:21, Daniel Sokolowski wrote: > Can you clarify if you approach can handle things that are not installable > through pip? For example I run into an issue with geodjango requirements - > I was not able to get everything installed through PIP and had to resort to > manually using

Re: Django deployment practices -- do people use setup.py?

2012-04-18 Thread Daniel Sokolowski
. -Original Message- From: Andrew Cutler Sent: Wednesday, April 18, 2012 7:55 AM To: django-users@googlegroups.com Subject: Re: Django deployment practices -- do people use setup.py? On 15 March 2012 12:33, Andrew Cutler wrote: We also want to be able to distribute a self contained Django

Re: Django deployment practices -- do people use setup.py?

2012-04-18 Thread Andrew Cutler
On 15 March 2012 12:33, Andrew Cutler wrote: > > We also want to be able to distribute a self contained Django project > with sane defaults (and this is where it gets tricky). > Answering my own question here... But I've finally achieved the "holy grail" of Django project deployment using setup.p

Re: Django deployment practices -- do people use setup.py?

2012-03-23 Thread John Griessen
On 03/14/2012 09:13 PM, Matt Schinckel wrote: For project deployment, I use a fabfile that does the following: * installs public keys onto the server (if necessary) * creates the directory structure required (if necessary) * copies the project onto the server * installs requirements from REQUIRE

Re: Django deployment practices -- do people use setup.py?

2012-03-15 Thread Tom Eastman
On 14/03/12 21:47, Thomas Guettler wrote: > Hey, > > I read your post some days ago and waited what other people say. But > nobody answered. > > I posted a related question some time ago: Staging (dev,test,prod) in > django. I explain > my setup there. > http://markmail.org/thread/wqwvordnlhyizwy

Re: Django deployment practices -- do people use setup.py?

2012-03-14 Thread Matt Schinckel
I don't use a setup.py for my _project_ deployment, but I do have a setup.py for each of the apps that I use within a project (or at least those that are 'reusable') For project deployment, I use a fabfile that does the following: * installs public keys onto the server (if necessary) * creates

Re: Django deployment practices -- do people use setup.py?

2012-03-14 Thread Andrew Cutler
On 15 March 2012 02:40, bruno desthuilliers wrote: > We dont - we use virtualenvs (no-site-packages), pip requirements, and > git. We do the same here. Our deployment looks something like # mkvirtualenv --no-site-packages foo # workon foo # cdvirtualenv # svn checkout bar # pip install -r deploy

Re: Django deployment practices -- do people use setup.py?

2012-03-14 Thread Benedict Verheyen
On 14/03/2012 16:40, bruno desthuilliers wrote: > On Mar 12, 11:55 pm, Tom Eastman wrote: >> Hey guys, >> >> I'm looking for deployment best practices for Django projects. Google >> searches seem to show countless numbers of them, many of them somewhat >> contradictory :-) >> >> So as a simple dis

Re: Django deployment practices -- do people use setup.py?

2012-03-14 Thread bruno desthuilliers
On Mar 12, 11:55 pm, Tom Eastman wrote: > Hey guys, > > I'm looking for deployment best practices for Django projects. Google > searches seem to show countless numbers of them, many of them somewhat > contradictory :-) > > So as a simple discussion point: I'm curious to know if lots of people > us

Re: Django deployment practices -- do people use setup.py?

2012-03-14 Thread Thomas Guettler
Hey, I read your post some days ago and waited what other people say. But nobody answered. I posted a related question some time ago: Staging (dev,test,prod) in django. I explain my setup there. http://markmail.org/thread/wqwvordnlhyizwyp A related thread on django-dev: http://groups.google.co

Re: django deployment

2011-05-19 Thread Shawn Milochik
Eric, What I like about deploying with gunicorn is this: It only takes one line in an nginx config: proxy_pass http://127.0.0.1:9876; And you run it as simply as running the dev server: ./manage.py run_gunicorn 127.0.0.1:9876 That's it. You can deploy in production. No Apache config,

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
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 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

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
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-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-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-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

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

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

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-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 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 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 Methods: Survey (via DjangoSites)

2009-04-09 Thread Ross Poulton
On Apr 9, 5:41 pm, Graham Dumpleton wrote: > The djangosites about page says: > >   Served by Apache and mod_python Oops - that's a little bit out of date. Thanks for the heads-up :) It's now updated to reflect how it's actually served: nginx/fastcgi on a Rimuhosting VPS. > The site seems to wo

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-09 Thread Graham Dumpleton
On Apr 9, 5:15 pm, Ross Poulton wrote: > > Sorry if these things might be obvious and I have missed them. Right > > now djangosites isn't even responding properly from where I am. > > Browser not able to get down styling.css properly. Maybe your > > mod_python died from all the traffic. (Hint)

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-09 Thread Ross Poulton
On Apr 9, 11:24 am, Graham Dumpleton wrote: > Is the list of options on the site somewhere where a login isn't > required? I had a dig around when you first mentioned this, but > couldn't find it. The options that can be selected are: DATABASE: - MySQL - PostgreSQL - sqlite - Oracle - MS S

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-08 Thread Graham Dumpleton
Is the list of options on the site somewhere where a login isn't required? I had a dig around when you first mentioned this, but couldn't find it. Can you also point at a particular site which has the option selected so can see how it presents in site information? Can one also search by the infor

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-08 Thread Ross Poulton
I'm already seeing a number of responses to this which is great. On Apr 7, 7:56 pm, Oli Warner wrote: > Please add Cherokee to the server choices and SCGI to the method choices. I > can't edit my sites (accurately) until you have. I knew I'd miss something. I've added those options, thank you.

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-07 Thread Kenneth Gonsalves
On Tuesday 07 April 2009 15:26:44 Oli Warner wrote: > Please add Cherokee to the server choices and SCGI to the method choices. I > can't edit my sites (accurately) until you have. and is there an option to remove a site? One of mine is no longer in existence. -- regards kg http://lawgon.livejo

Re: Django Deployment Methods: Survey (via DjangoSites)

2009-04-07 Thread Oli Warner
Please add Cherokee to the server choices and SCGI to the method choices. I can't edit my sites (accurately) until you have. On Tue, Apr 7, 2009 at 10:15 AM, Ross Poulton wrote: > > There are quite a few different ways to deploy Django applications so > that the big wide world can see them. I'm

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

Re: Django deployment à lá Capistrano

2007-12-06 Thread Timothee Peignier
I've made a quick and dirty howto about using capistrano with django : http://cyberdelia.tryphon.org/blog/2007/10/27/django-capistrano/ It should help us waiting for a more django and pythonic way to do it ;) Cheers, -- Timothée Peignier http://people.tryphon.org/~tim/ On Mon, 2007-09-10 at 11

Re: Django deployment à lá Capistrano

2007-11-11 Thread Panos Laganakos
I've put up the script I use for deploying our apps, on our internal work server. It's pretty ugly, but It could be extended/improved *alot*. It doesn't check about anything _at all_, it just works or doesn't. :) http://code.google.com/p/djdeliver Anyone who feels like contributing, just let me

Re: Django deployment à lá Capistrano

2007-09-27 Thread r
On Sep 27, 8:36 am, "Jon Atkinson" <[EMAIL PROTECTED]> wrote: > Is anything happening with this project, or has it died on the vine? > Just a noob here, but why would Django need a Capistrano-like thing? Rails needs it in order to marshal 5 mongrel processes per application, etc etc, for their

Re: Django deployment à lá Capistrano

2007-09-27 Thread Jon Atkinson
Is anything happening with this project, or has it died on the vine? --Jon On 9/13/07, rex <[EMAIL PROTECTED]> wrote: > > Hello. > > I'd be interested in helping with writing a Capistrano replacement for > Django in python (not a port!). > I'm relatively new to django sites, but quite an old hand

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

  1   2   >