Re: Deploying django

2015-05-04 Thread Mike Dewhirst
On 4/05/2015 6:43 PM, João Marques wrote: Oh I get it. I have a few questions: 1. Wheres should I configure my nginx? /etc/nginx (probably) This is part of my nginx config ... location /static/ { root/home/mike/envs/myproject/static; access_log off;

Re: Deploying django

2015-05-04 Thread João Marques
Oh I get it. I have a few questions: 1. Wheres should I configure my nginx? 2. Is there a any problem with my project folder structure? Because I do have my templates outside the static folder... ├── costum ├── manage.py ├── psi │ ├── __init__.py │ ├── __init__.pyc │ ├── middlewares.py │

Re: Deploying django

2015-05-04 Thread João Marques
Thanks for the answer, what are this configuration files that you speak of? I really don't know much about this whole deployment thing. From what i remenber i configured apache configuration and something called available-sites... On Sunday, 3 May 2015 22:24:07 UTC+1, Fellipe Henrique wrote: >

Re: Deploying django

2015-05-03 Thread Mike Dewhirst
On 4/05/2015 6:08 AM, João Marques wrote: Now what happens when I run the server in "debug = False" is an error 500. Without the "debug = False" I get this:'Empty static prefix not permitted'. Googling that error brings up a few results. It seems to indicate a problem with STATIC_ROOT and STAT

Re: Deploying django

2015-05-03 Thread Fellipe Henrique
Hey man!! In my setup, I use this: Gunicorn + nginx + supervisor Please, share your confs files.. without them we can't help a lot! T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge' *Blog: http://fhbash.wordpress.com/

Deploying django

2015-05-03 Thread João Marques
Hey there guys, I'm starting to lose my hope in deploying my django project to a vps. Here is what I've done so far (notice that i'm a newbie and this is the first time): I've created my virtualenv and installed pip, django, mysqldb package and nginx (i think). I followed this tutorial: https:/

Deploying Django, nginx , gunicorn, postgresql

2015-02-20 Thread Tony Kyriakidis
Hello, It's been a week now since the day i started trying to deploy a test blog application on digital ocean. I tried everthing and if you go to the IP: http://188.166.62.146 you get a Welcome to Nginx page. when i go to http://188.166.62.146:8001 i get a (400 Bad Request) error. Here on Stac

Re: Deploying Django on Docker

2015-01-12 Thread Aaron C. de Bruyn
My docker setup is pretty easy: wget -qO- https://raw.github.com/progrium/dokku/v0.3.13/bootstrap.sh | sudo DOKKU_TAG=v0.3.13 bash cat ~/.ssh/id_rsa.pub | ssh r...@mynewhost.mydomain.tld "sudo sshcommand acl-add dokku myproject" git remote add production do...@mynewhost.mydomain.tld:myproject g

Re: Deploying Django on Docker

2015-01-11 Thread Anssi Kääriäinen
I have given this issue a bit more thought, and it seems using Docker might be a bit too complex for the "just completed tutorial use case". Docker is nice, but if things do not work out the way you want, troubleshooting can get a bit complex. Instead it might be good to *fully* document how to

Re: Deploying Django on Docker

2015-01-09 Thread Anssi Kääriäinen
On Thursday, January 8, 2015 at 1:20:39 PM UTC+2, Mike Dewhirst wrote: > > Have you seen Mezzanine fab deployment? Ken Bolton has blogged about it > ... > > http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/ > Seems interesting. I have to play with it. The biggest issues for me are

Re: Deploying Django on Docker

2015-01-09 Thread Anssi Kääriäinen
On Thursday, January 8, 2015 at 2:28:25 PM UTC+2, Jeroen Bakker wrote: > > Hi Anssi, > > Not really an answer to your question, but just to give you insight to a > solution. > > We at l1nda are using docker and django with small applications and large > applications. > > We developed an nginx c

Re: Deploying Django on Docker

2015-01-08 Thread Jeroen Bakker
Hi Anssi, Not really an answer to your question, but just to give you insight to a solution. We at l1nda are using docker and django with small applications and large applications. We developed an nginx container and uwsgi container and a devops container. The devops container does all the

Re: Deploying Django on Docker

2015-01-08 Thread Mike Dewhirst
On 8/01/2015 9:45 PM, Anssi Kääriäinen wrote: For a long time I have been battling with the following problem: how to deploy Django in an easy, maintainable, secure and reliable way for small Django applications. The applications I write are mainly very low traffic, and often they are coded in a

Re: Deploying Django on Docker

2015-01-08 Thread Guilherme Leal
Honestly, i dont have the time to participate on this project right now, but i would use a tool like this for small projects. FOR SURE. Em Thu Jan 08 2015 at 08:45:56, Anssi Kääriäinen escreveu: For a long time I have been battling with the following problem: how to > deploy Django in an easy, m

Deploying Django on Docker

2015-01-08 Thread Anssi Kääriäinen
For a long time I have been battling with the following problem: how to deploy Django in an easy, maintainable, secure and reliable way for small Django applications. The applications I write are mainly very low traffic, and often they are coded in a couple of days. Unfortunately the hardest pa

Re: Deploying Django project

2014-11-21 Thread Phang Mulianto
Hi Fred, Sory for the missunderstanding ... i just remember my first time deploying manually with all the typing and typo and the step.. :) Cheers Mulianto On Fri, Nov 21, 2014 at 11:42 PM, Fred Stluka wrote: > Mulianto, > > You said: > > Fred way is good, but need time to type and remember

Re: Deploying Django project

2014-11-21 Thread Fred Stluka
Mulianto, You said: Fred way is good, but need time to type and remember all the steps. WIth fabric you will not miss a step and it can be automated. I think you misunderstood my post. The commands I showed are excerpts from my automated script. I provided them so termopro could write such

Re: Problem in deploying Django 1.7 application using openshift.

2014-11-21 Thread Girish Joshi
I did not find the correct and clear instructions for bootstrapping and settings of django1.7 application for Openshift. from these two links https://stackoverflow.com/questions/26871381/deploying-a-local-django-app-using-openshift

Re: Deploying Django project

2014-11-20 Thread Phang Mulianto
Hi termopro, TO automate the deployment, look for fabric + cuisie (CHef like fabric) . You will bored with the command line in each deployment, and you will need fast and standard way of deploying to each new machine. Fred way is good, but need time to type and remember all the steps. WIth fabri

Re: Deploying Django project

2014-11-20 Thread Fred Stluka
termopro, I have automated my deployments mostly separate from my version control. The other team members and I write, test, commit, and push our code changes to our Git repo. I then pull, review, test, update the version number, commit, tag, and push to Git. Then I use a shell script (on Mac,

Re: Deploying Django project

2014-11-20 Thread ajohnston
I would recommend that you read the book "Two Scoops of Django" which covers many (all?) of the issues involved with maintaining dev/staging/production environments, including the kinds of deployment questions you're asking. I think it will answer a lot of your questions, then maybe you could a

Re: Deploying Django project

2014-11-19 Thread termopro
Thank you for your reply Daniel. On Wednesday, November 19, 2014 9:07:31 PM UTC+2, Daniel Roseman wrote: > > On Wednesday, 19 November 2014 10:22:25 UTC, termopro wrote: >> >> I have created a Django 1.7 project and would like to deploy it. I am >> reading about how to do it right and i have so

Re: Deploying Django project

2014-11-19 Thread Daniel Roseman
On Wednesday, 19 November 2014 10:22:25 UTC, termopro wrote: > > I have created a Django 1.7 project and would like to deploy it. I am > reading about how to do it right and i have some questions. > > If i understand correctly deployment should contain the following steps: > > 1) Initial remote ma

Deploying Django project

2014-11-19 Thread termopro
I have created a Django 1.7 project and would like to deploy it. I am reading about how to do it right and i have some questions. If i understand correctly deployment should contain the following steps: 1) Initial remote machine set up: - a) install os / server / database / cache ... -

Problem in deploying Django 1.7 application using openshift.

2014-11-17 Thread Girish Joshi
Hello all, I want to deploy Django 1.7 application on openshift. I've tried the steps given at https://stackoverflow.com/questions/26871381/deploying-a-local-django-app-using-openshift but I'm getting 503 Service Unavailable No server is available to handle this request. Error message. can an

Re: deploying django on heroku

2014-09-08 Thread ngangsia akumbo
i still dont get it bro On Sunday, September 7, 2014 10:04:51 PM UTC+1, Kevin Ndung'u wrote: > > As it says, just run those commands, setting your username and email, to > set your git identity (Username and Email address) which is required for > commits. > > On Saturday, September 6, 2014 1:21:

Re: deploying django on heroku

2014-09-07 Thread Kevin Ndung'u
As it says, just run those commands, setting your username and email, to set your git identity (Username and Email address) which is required for commits. On Saturday, September 6, 2014 1:21:09 PM UTC+3, ngangsia akumbo wrote: > > i have another error > > yems python-getting-started # git commit

Re: deploying django on heroku

2014-09-06 Thread ngangsia akumbo
i have another error yems python-getting-started # git commit -m "Demo" *** Please tell me who you are. Run git config --global user.email "y...@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this rep

Re: deploying django on gunicorn

2014-09-05 Thread Sandeep kaur
On Fri, Sep 5, 2014 at 3:44 PM, ngangsia akumbo wrote: > > 11:13:37 web.1 | return util.import_app(self.app_uri) > 11:13:37 web.1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app > 11:13:37 web.1 | __import__(module) > 11:13:37 web.1 | ImportE

Re: deploying django on heroku

2014-09-05 Thread Koed00
Looks like Gunicorn can't find your app module hellodjango.wsgi Did you make a wsgi.py in your app folder as described in the Heroku docs? On Friday, September 5, 2014 12:19:25 PM UTC+2, ngangsia akumbo wrote: > > i had a problem trying to deply django on heroku > > yems bphotel # foreman start >

Re: deploying django on heroku

2014-09-05 Thread ngangsia akumbo
please some help if any On Friday, September 5, 2014 11:19:25 AM UTC+1, ngangsia akumbo wrote: > > i had a problem trying to deply django on heroku > > yems bphotel # foreman start > 11:13:37 web.1 | started with pid 9269 > 11:13:37 web.1 | [2014-09-05 11:13:37 +] [9269] [INFO] Starting >

deploying django on heroku

2014-09-05 Thread ngangsia akumbo
i had a problem trying to deply django on heroku yems bphotel # foreman start 11:13:37 web.1 | started with pid 9269 11:13:37 web.1 | [2014-09-05 11:13:37 +] [9269] [INFO] Starting gunicorn 19.1.1 11:13:37 web.1 | [2014-09-05 11:13:37 +] [9269] [INFO] Listening at: http://0.0.0.0:5000

deploying django on gunicorn

2014-09-05 Thread ngangsia akumbo
found this error trying to run the command foreman start yems bphotel # foreman start 11:13:37 web.1 | started with pid 9269 11:13:37 web.1 | [2014-09-05 11:13:37 +] [9269] [INFO] Starting gunicorn 19.1.1 11:13:37 web.1 | [2014-09-05 11:13:37 +] [9269] [INFO] Listening at: http://0.

Re: deploying django

2014-08-11 Thread Tyrel Souza
If you're looking for an easy place to host a django website for testing, check out Heroku.com. They have some (slow) free tiers. Here's a getting started guide for Django https://devcenter.heroku.com/articles/getting-started-with-django On Friday, August 8, 2014 11:29:45 AM UTC-4, ngangsia aku

Re: deploying django

2014-08-09 Thread ngangsia akumbo
i have two probe so far uploading images and hosting on apache those are the probes i face now, my images dont show up on the templates i am suing django 1.4 On Friday, August 8, 2014 4:29:45 PM UTC+1, ngangsia akumbo wrote: > > is there an easier way to host your django website for testing > >

deploying django

2014-08-08 Thread ngangsia akumbo
is there an easier way to host your django website for testing i am really getting frustrated, is flask more easier than django? i really want to use django but am getting frustrated -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscri

Re: deploying django

2014-08-06 Thread ngangsia akumbo
Thanks bro will chceck if it works On Wednesday, August 6, 2014 1:26:06 PM UTC+1, Collin Anderson wrote: > > It would look like this: > > > WSGIScriptAlias / /home/yems/Documents/testproject/hotel/hotel/wsgi.py > > WSGIPythonPath /home/yems/Documents/testproject

Re: deploying django

2014-08-06 Thread Collin Anderson
It would look like this: WSGIScriptAlias / /home/yems/Documents/testproject/hotel/hotel/wsgi.py WSGIPythonPath /home/yems/Documents/testproject/hotel Require all granted -- You received this message because you are subscribed to the Google Groups "Djan

Re: deploying django

2014-08-06 Thread ngangsia akumbo
Please i have a question here is the path to my django project (testproject)yems@yems ~/Documents/testproject/hotel $ (testproject)yems@yems ~/Documents/testproject/hotel $ ls blog event gallery home hotel manage.py yems (testproject)yems@yems ~/Documents/testproject/hotel $ cd event (t

Re: deploying django

2014-08-06 Thread ngangsia akumbo
i migrated everything in to linux mint On Tuesday, August 5, 2014 5:17:22 PM UTC+1, Jeff Trawick wrote: > > On Monday, August 4, 2014 6:12:16 PM UTC-4, Adrian Marshall wrote: >> >> I've went through a few different ways. If your set on using apache, >> Configure Apache with Mod-WSGI on a server

Re: deploying django

2014-08-05 Thread Jeff Trawick
On Monday, August 4, 2014 6:12:16 PM UTC-4, Adrian Marshall wrote: > > I've went through a few different ways. If your set on using apache, > Configure Apache with Mod-WSGI on a server. > > Here's a Good Tutorial: > http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/ >

Re: deploying django

2014-08-04 Thread Adrian Marshall
I've went through a few different ways. If your set on using apache, Configure Apache with Mod-WSGI on a server. Here's a Good Tutorial: http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/ If you're having trouble with that and your app isn't too demanding you can e

Re: deploying django

2014-08-04 Thread Collin Anderson
I'd start by reading the docs on deploying with apache and mod_wsgi https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

deploying django

2014-08-04 Thread ngangsia akumbo
I have created a complete site, i have configured it to run with mysql using wamp i have also configured apache in wamp which is up and running so i want to deploy the site to run as a life page on the internet using apache what should i do next -- You received this message because you are

Re: Error while deploying django with mod wsgi

2013-11-18 Thread Leonardo Giordani
Hi Sebastian, it seems that you are experiencing a name clash or similar. email.quoprimime is included in Python 2.6 (see here http://hg.python.org/cpython/file/3edf679917ba/Lib/email) so if you find it in /usr/lib/python2.6/email/quoprimime.py then you are probably masking the name "email" with s

Error while deploying django with mod wsgi

2013-11-18 Thread Sebastian Clemens
Hello, here's my traceback, I use a virtualenv running django. [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] ServerName: > 'sebastian-clemens.de' > [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] DocumentRoot: > '/var/www/vhosts/sebastian-clemens.de/httpdocs' > [Mon No

Re: Deploying Django apps with nginx

2013-11-10 Thread Timothy W. Cook
This should help http://michal.karzynski.pl/blog/2013/10/29/serving-multiple-django-applications-with-nginx-gunicorn-supervisor/ On Sun, Nov 10, 2013 at 10:20 AM, Sandeep kaur wrote: > Hi, > I want to deploy multiple django apps on a server with nginx. When we do it > on apache > we do it in /e

Re: Deploying Django apps with nginx

2013-11-10 Thread Thomas Orozco
Using Nginx, you don't tun the django app "inside" Nginx like you would using mod_wsgi. Instead, you use Nginx for reverse proxying (see the proxy_pass directive), and use a Python webserver for your app(s), e.g. uwsgi, gunicorn. Serving multiple apps is easy. Just use multiple location blocks an

Deploying Django apps with nginx

2013-11-10 Thread Sandeep kaur
Hi, I want to deploy multiple django apps on a server with nginx. When we do it on apache we do it in /etc/apache2/httpd.conf and following content : WSGIScriptAlias /django /home/sandy/django_app/apache/django.wsgi Order allow,deny Allow from all Thus this app can be accessed by example

Re: problem with deploying django using mod wsgi

2013-08-12 Thread Rob Ladd
It may be looking in html because it isn't getting the definition from the view method or class, so it's going with the default. Try importing everything in views: from webapp import views * On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote: > > Is your form (on page /mice/search_mi

Re: problem with deploying django using mod wsgi

2013-08-10 Thread Kelvin Wong
Is your form (on page /mice/search_mice/) submitting to /mice/search or /search Check your form element in the html document. Is it pointing to the right URL? Maybe check your WSGIScriptAlias setting. Maybe verify your DocumentRoot setting. You might also want to check the request and respo

Re: problem with deploying django using mod wsgi

2013-08-08 Thread sah
I have this error in the error_log file : [error] [client 10.10.8.41] File does not exist: /var/www/html/search, referer: http://tarinformatics03/mice/search_mice/ search is one of my view function why is it looking for it in the html directory ?? On Wednesday, August 7, 2013 5:25:01 PM UTC-

Re: problem with deploying django using mod wsgi

2013-08-07 Thread Nick Dokos
sah writes: > Though i remove those two line it did not change anything. It works > the same as before, i get the search_form page and if i give some > value for search, I get a 404 error page saying that the page is not > available in the server. > Then check the /var/log/apache2/error.log file

Re: problem with deploying django using mod wsgi

2013-08-07 Thread sah
Though i remove those two line it did not change anything. It works the same as before, i get the search_form page and if i give some value for search, I get a 404 error page saying that the page is not available in the server. On Wednesday, August 7, 2013 5:25:01 PM UTC-4, sah wrote: > > Hello

Re: problem with deploying django using mod wsgi

2013-08-07 Thread Bill Freeman
I think that AddHandler stuff sounds like a ghost of mod_python days. I don't use it in my mod_wsgi deployments. See http://code.google.com/p/modwsgi/ for good information. Bill On Wed, Aug 7, 2013 at 5:25 PM, sah wrote: > Hello , I am trying to deploy django using apache and mod_wsgi but no

problem with deploying django using mod wsgi

2013-08-07 Thread sah
Hello , I am trying to deploy django using apache and mod_wsgi but not able to , can anyone help me on this : httpd.conf -- LoadModule wsgi_module modules/mod_wsgi.so WSGIScriptAlias /mice /home/getMice/webproject/wsgi.wsgi Order deny,allow Allow from all AddHandler ws

Deploying Django on ISS with Python 3.3

2013-07-10 Thread Robert Jonathan Šimon
How can i deploy Django with Python 3.3 on windows? it would be great if on IIS -- 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...@googleg

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread djangobie
I appreciate your response. I have good idea of 'virtualenv', an indespinsble tool. What I am basically trying to do here is, to have a strong grasp over how Nginx behave, once I'll have it 'll definitely move forward to next step (using it in combination). -I have installed Nginx (configured),

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread Nikolas Stevenson-Molnar
Here's a Django-specific doc for FastCGI configuration with Nginx: http://wiki.nginx.org/DjangoFastCGI Though again: Gunicorn will make your life easier. There's a reason that most of the tutorials you've found use these extra components. _Nik On 12/27/2012 10:28 AM, Nikolas Stevenson-Molnar wro

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread Nikolas Stevenson-Molnar
These two documents should get you what you need: 1) Django deployment via FastCGI: https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/ (scroll down a bit to the 'runfcgi' manage.py command). 2) Nginx FastCGI example configuration: http://wiki.nginx.org/FcgiExample That shouldn't have

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread donarb
On Wednesday, December 26, 2012 11:26:12 PM UTC-8, djangobie wrote: > > Hi all, > I am trying to deploy my Django project using Nginx, tried various > tutorials. All of them are filled bunch of dependencies and requirements. > Here I am looking forward to a simple (in sure way minimilistic), p

Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-26 Thread djangobie
Hi all, I am trying to deploy my Django project using Nginx, tried various tutorials. All of them are filled bunch of dependencies and requirements. Here I am looking forward to a simple (in sure way minimilistic), procedure to do so i.e. deploying my Django project (*mysite1*) and (*mysite2*)

Re: Issue Deploying Django

2012-08-12 Thread Kurtis Mullins
On Aug 11, 2012 6:31 PM, "Mario Lacunza" wrote: > > Dont forget ask to webfaction about it too before > you buy the package, you have root access in WF > and you can install whaterver you want I guess. Web faction gives root access now? > Anyways ask WF support. > > http://www.webfaction.com?aff

Re: Issue Deploying Django

2012-08-11 Thread Mario Lacunza
Dont forget ask to webfaction about it too before you buy the package, you have root access in WF and you can install whaterver you want I guess. Anyways ask WF support. http://www.webfaction.com?affiliate=lacunza Saludos / Best regards Mario Lacunza Email:: mlacu...@gmail.com Personal Websit

Re: Issue Deploying Django

2012-08-11 Thread JJ Zolper
Thank you mark for the great response. Let me add on to the reason I started this thread for any who missed it. I need to be able to have the capability to install geospatial libraries such as GEOS, PROJ, PostGIS, and possibly GDAL. On my current host i do not have root privleges and so if for

Re: Issue Deploying Django

2012-08-11 Thread Mark Gemmill
Like William, I'd have to say I've had pretty good luck with Webfaction. You can do just about anything you want and the support is very good. They have standard setup scripts for various types of apps, including Django, but if you want to do something custom you have a lot of freedom. For inst

Re: Issue Deploying Django

2012-08-10 Thread JJ Zolper
I absolutely agree that's why if a place like webfaction can't completely convince me that they can take care of everything I could want then I think I need to go with root access with a cloud server or VPS. Sorry for the long wait on the reply. On Friday, August 3, 2012 11:13:46 AM UTC-4, Kurt

Re: Issue Deploying Django

2012-08-03 Thread Kurtis Mullins
With Cloud Servers, yes -- you do get Root access. It's basically the equivelant of a VPS that you can easily spawn, scale, and replicate as needed. Without root access on servers, virtual environments only get you so far. What happens when you need to install Python imaging library but they don't

Re: Issue Deploying Django

2012-08-03 Thread JJ Zolper
>Agreed that virtualenv will allow you to install python packages - however not any linux/unix packages. I have no problems using >Django on Dreamhost. http://dashdrum.com/blog/2011/08/django-on-dreamhost/ Thanks for the advice I will look into dreamhost too! On Fri, Aug 3, 2012 at 8:24 AM, Dan

Re: Issue Deploying Django

2012-08-03 Thread JJ Zolper
Yes when I saw no root privleges I realized very soon that I either have to get a new host that has what I need installed or get my own box and full control. With virtualenv I can install the packages on bluehost? On Thu, Aug 2, 2012 at 10:34 PM, Trevor Joynson wrote: > You are trying to install

Re: Issue Deploying Django

2012-08-03 Thread JJ Zolper
Yeah I've been looking into webfaction. Any information would be great thanks William! Only issues I would forsee is the root control. That is unless they have all that I need but at the same time I think I would lean to having root over not. Also I'm on a shared hosting right now and it's pretty

Re: Issue Deploying Django

2012-08-03 Thread Dan Gentry
Agreed that virtualenv will allow you to install python packages - however not any linux/unix packages. I have no problems using Django on Dreamhost. http://dashdrum.com/blog/2011/08/django-on-dreamhost/ On Thursday, August 2, 2012 10:34:35 PM UTC-4, trevorj wrote: > > You are trying to instal

Re: Issue Deploying Django

2012-08-02 Thread Trevor Joynson
You are trying to install packages system-wide when you don't have credentials to do so. You can install everything you need without cluttering the system itself. For instance, use a virtualenv and set your PREFIX. Either way, happy hacking! On Aug 1, 2012 8:32 PM, "JJ Zolper" wrote: > I'm try

Re: Issue Deploying Django

2012-08-02 Thread william ratcliff
I will say that I've had pretty good luck hosting with webfaction and installing packages locally. They also have really good support--I'd tell them your use case and ask them if it would work with them. Even though it's shared hosting, I do have ssh--though not root William On Thu, Aug 2,

Re: Issue Deploying Django

2012-08-02 Thread JJ Zolper
Yes it seems that way. Thats because its shared hosting and i dont have root privleges. bluehost has hindered what I can do with Django. But does a cloud server at rackspace have root privleges like a vps? because i think i need to install these geospatial libraries to be able to really make fo

Re: Issue Deploying Django

2012-08-02 Thread Alex Strickland
On 2012/08/02 05:42 PM, Kurtis Mullins wrote: I'd recommend another host. There's many issues you may run into with using a shared hosting provider that doesn't explicitly support Django. The best option (in my opinion) is to just get a cheap Cloud Server if you're up for the task of managing th

Re: Issue Deploying Django

2012-08-02 Thread Kurtis Mullins
I'd recommend another host. There's many issues you may run into with using a shared hosting provider that doesn't explicitly support Django. The best option (in my opinion) is to just get a cheap Cloud Server if you're up for the task of managing them ($10/month at Rackspace or Free for one year a

Re: Issue Deploying Django

2012-08-01 Thread JJ Zolper
Thanks so much for the reply! I had a feeling I would need it but I just like to be sure before I act. Another thing. On Ubuntu there were additional packages I had to install. I believe one was called "psycopg2-python-dev" or something like that. If I install psycopg2-python at: http://www.in

Re: Issue Deploying Django

2012-07-31 Thread kenneth gonsalves
On Tue, 2012-07-31 at 20:52 -0700, JJ Zolper wrote: > Do I need to go through and install the python like adapters is that > what it's complaining about? I don't think this has to do with my > Django code on the server it's just a file missing right? you need to install pycopg - and it is nothing

Re: deploying django - including third party apps

2012-04-27 Thread Babatunde Akinyanmi
Asides Shawn's answer, alwaysdata's documentation educates how to install packages on the host On 4/26/12, Shawn Milochik wrote: > There's no reason a user couldn't run virtualenv, regardless of permissions. > > Download the virtualenv tarball and extract it. It contains a file named > virtualenv

Re: deploying django - including third party apps

2012-04-26 Thread Shawn Milochik
There's no reason a user couldn't run virtualenv, regardless of permissions. Download the virtualenv tarball and extract it. It contains a file named virtualenv.py. Done. Run python virtualenv.py some_path and it will work. -- You received this message because you are subscribed to the Goog

Re: deploying django - including third party apps

2012-04-26 Thread Mike Ryan
If he can't install virtualenv (permission denied), he will have problems copying his modules to the dist/site-packages dir. Also, this method of manually copying is (no offence meant :-) ) rather hacky, and probably not good advice in most situations. Thomas Rega's suggestion of installing virtual

Re: deploying django - including third party apps

2012-04-26 Thread kamagatos
You don't absolutely need virtualenv/pip to perform this task. Just get your 3rd party apps from /usr/local/lib/python2.X/dist-packages/ (if you are using ubuntu) and copy them at the root of your hosting python path. It should do the thing. good luck On Wednesday, April 25, 2012 11:14:58 AM U

Re: deploying django - including third party apps

2012-04-26 Thread Thomas Rega
Sent:* Wednesday, April 25, 2012 11:14 AM *To:* django-users@googlegroups.com <mailto:django-users@googlegroups.com> *Subject:* deploying django - including third party apps hi everyone. i'm developing a simple CRUD django app and my idea is to host it on a free web hosti

Re: deploying django - including third party apps

2012-04-26 Thread luke lukes
enied* any help? Il giorno giovedì 26 aprile 2012 04:32:01 UTC+2, Daniel Sokolowski ha scritto: > > If you have shell access you could do a virtualenv/pip combo install. > > *From:* luke lukes > *Sent:* Wednesday, April 25, 2012 11:14 AM > *To:* django-users@googlegro

Re: deploying django - including third party apps

2012-04-25 Thread Daniel Sokolowski
If you have shell access you could do a virtualenv/pip combo install. From: luke lukes Sent: Wednesday, April 25, 2012 11:14 AM To: django-users@googlegroups.com Subject: deploying django - including third party apps hi everyone. i'm developing a simple CRUD django app and my idea is to

deploying django - including third party apps

2012-04-25 Thread luke lukes
hi everyone. i'm developing a simple CRUD django app and my idea is to host it on a free web hosting site that supports django (e.g. alwaysdata.com or heliohost.org). I havent tried locally to deploy it on a web server such as Apache, i've alway used the development server by manage.py runserver

Deploying Django with Chef

2011-11-09 Thread Adam Nelson
All, We just put out a new blog post on how to use Chef to deploy a Django environment on Amazon ec2 (although any remote Python deployment will benefit from the article, not just Django): http://tech.yipit.com/2011/11/09/how-yipit-deploys-django/ Cheers, Adam -- You received this message be

Re: Deploying Django

2011-10-27 Thread Daniel Roseman
On Thursday, 27 October 2011 10:13:56 UTC+1, sakthi wrote: > > Ok. I installed mod_wsgi and did all configrations. > > i created django.wsgi file in my app with all the entries and also > added WSGIScriptAlias / /home/saki/gpc/apache/django.wsgi to the > httpd.conf in apache. > > Still i am ge

Re: Deploying Django

2011-10-27 Thread sakthi
Ok. I installed mod_wsgi and did all configrations. i created django.wsgi file in my app with all the entries and also added WSGIScriptAlias / /home/saki/gpc/apache/django.wsgi to the httpd.conf in apache. Still i am getting an apache internal error. misconfigured. i think its the problem with m

Re: Deploying Django

2011-10-26 Thread Javier Guerra Giraldez
On Wed, Oct 26, 2011 at 5:14 PM, sakthi wrote: > i installed mod_python and that's where you got it wrong. mod_python is obsolete and deprecated. the supported way to deploy python apps with apache is mod_wsgi. check https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/ --

Deploying Django

2011-10-26 Thread sakthi
Hi all, I am running Apache in linux. I need to deploy my django app to it, so i installed mod_python and configured the apache according to it. Then I got an annoying error at the first page, that I couldn't figure out. Please suggest a solution. The error is: ImportError at /gpa No module name

Re: Deploying django. Please specify the steps.

2011-03-15 Thread Nate Aune
You are not alone. We've seen many folks struggle with the deployment of Django. It can be done but it requires some reading up on documentation on various components in the stack. I suggest that you watch Jacob Kaplan Moss' Django deployment workshop video at: http://pycon.blip.tv/file/3632436/

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Kenneth Gonsalves
On Fri, 2011-03-11 at 05:34 -0800, balu wrote: > 1. When I open "http://localhost/"; page, it is an error message > "Forbidden. You don't have permission to access / on this server". see if your home directory has an 'x' permission at the end: drwx--x--x 103 lawgon lawgon 4096 2011-03-11 18:

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Graham Dumpleton
Go watch: http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations That presentation explains a lot about permissions and other errors you can. Recommend that before you even try and get Django running that you get a WSGI hello world script running. Use what is shown i

Re: Deploying django. Please specify the steps.

2011-03-11 Thread balu
1. When I open "http://localhost/"; page, it is an error message "Forbidden. You don't have permission to access / on this server". 2. with in /etc/apache2/sites-available/ directory I created a file named "locahost". In that I placed the Virtual Host settings. NameVirtualHost *:80 DocumentRoo

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Jirka Vejrazka
OK - I'm going to ask the obvious question here - have you made sure that Apache web server user can read ALL your configuration files? The log reveals that there are permission problems on .htaccess file that is stored in your home directory (where Apache can't reach by default). I'm going to make

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Kenneth Gonsalves
On Fri, 2011-03-11 at 04:46 -0800, balu wrote: > Here is the error log sir. nobody asked you for the apache error log. To repeat: please paste the following: 1. what error does your browser show 2. the relevant part of your apache config file (please do not post the whole config file) 3. your dj

Re: Deploying django. Please specify the steps.

2011-03-11 Thread balu
Here is the error log sir. [Wed Feb 09 22:23:25 2011] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations [Wed Feb 09 23:28:09 2011] [notice] caught SIGTERM, shutting down [Wed Mar 09 20:10:30 2011] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations [We

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Kenneth Gonsalves
On Fri, 2011-03-11 at 13:40 +0100, Xavier Ordoquy wrote: > >> I had gone through the official site. But couldn't understand it > >> completely the configuration process. > >> > >> apache, mod_wsgi, nginx, mysql on ubuntu 10.10 > > > > first make up your mind - do you want apache or nginx? You ca

<    1   2   3   4   >