Re: Deploying django in plesk

2021-08-25 Thread
Hello, Please make sure you have run collectstatic command before deploying. You can follow https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/#static-root-and-static-url. On Thursday, August 26, 2021 at 12:38:52 AM UTC+5:30 frankg...@gmail.com wrote: > Hi everybody. > I've alre

RE: Deploying django in plesk

2021-08-25 Thread Mike Dewhirst
Try manage.py collectstatic --settings=path-to-settingsLook up collectstatic in the docsMike--(Unsigned mail from my phone) Original message From: frank galan Date: 26/8/21 05:09 (GMT+10:00) To: Django users Subject: Deploying django in plesk Hi everybody.I've already deplo

Re: Deploying django in plesk

2021-08-25 Thread Gabriel Araya Garcia
Hi, Frank: Perhaps that can run if you put the statics folder in the exterior level. Por example: misite/misite/myapp In local, I have my statics folder in myapp level, but in hosting I must to put it in: misite (fisrts misite) try it, and tell me how has solve that problem. Greetings Gabriel Ara

Re: Deploying Django Project on Kubernetes

2021-05-07 Thread Mohit Gupta
Online training on python and django for beginners. Interested people contact on me On Fri, 7 May, 2021, 8:56 AM parmeshwar deharkar, < parmeshwardehar...@gmail.com> wrote: > yes we guide you and i will solve your problem. tell me your requirement > now > > On Thu, May 6, 2021 at 7:11 PM 'Muhamma

Re: Deploying Django Project on Kubernetes

2021-05-06 Thread parmeshwar deharkar
yes we guide you and i will solve your problem. tell me your requirement now On Thu, May 6, 2021 at 7:11 PM 'Muhammad Asim Khaskheli' via Django users < django-users@googlegroups.com> wrote: > Hello everyone! > I want to make my django project with mysql backend live on kubernetes, > however, I d

Re: deploying django project with mod_wsgi and apache

2020-05-17 Thread みやうち`
I found out part of my code has problem, althogh I don't know why it didn't output an error. Anyway, thank you for reply. -- 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

Re: deploying django project with mod_wsgi and apache

2020-05-16 Thread みやうち`
AWS EC2 with Linux. Since deployment of "polls" app works fine, I think there is no problem with server... But django and apache give no error about my app. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: deploying django project with mod_wsgi and apache

2020-05-16 Thread Kurosh Sol
what is your server as you are Japanese might be use server or sakura? On Sun, May 17, 2020 at 10:07 AM みやうち` wrote: > I got completely stuck deploying django to production. > > I deployed my project using apache and mod_wsgi, and then it hangs I > access it with browser. > Neither django nor a

Re: Deploying Django Project on heroku

2020-05-16 Thread Sunday Iyanu Ajayi
Hi Akshat, It worked *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sat, May 16, 2020 at 2:39 PM Akshat Zala wrote: > Did the downgrading django==2.2 LTS worked? > > On Friday, 15 May 2020 00:40:42 UTC+5:30, Sunday Iyanu Ajayi wrote: >> >> Thank you. I will do that >> *AJAY

Re: Deploying Django Project on heroku

2020-05-16 Thread Akshat Zala
Did the downgrading django==2.2 LTS worked? On Friday, 15 May 2020 00:40:42 UTC+5:30, Sunday Iyanu Ajayi wrote: > > Thank you. I will do that > *AJAYI Sunday * > (+234) 806 771 5394 > *sunne...@gmail.com * > > > > On Thu, May 14, 2020 at 3:58 AM Akshat Zala > wrote: > >> If possible, please dow

Re: Deploying Django Project on heroku

2020-05-14 Thread Sunday Iyanu Ajayi
Thank you. I will do that *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Thu, May 14, 2020 at 3:58 AM Akshat Zala wrote: > If possible, please downgrade the django version to django2.2 LTS and try > again... > > -- > You received this message because you are subscribed to the

Re: Deploying Django Project on heroku

2020-05-13 Thread Shyam Acharjya
dude the error is staring at you. have you read the logs? just update the whitenoise library. django.utils.six is deprecated. if you want to use six you have to import it independently. On Thu, May 14, 2020 at 8:28 AM Akshat Zala wrote: > If possible, please downgrade the django version to djang

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If possible, please downgrade the django version to django2.2 LTS and try again... -- 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...@goog

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If possible, please downgrade DJ version to 2.2 LTS and try again to execute the code. -- 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...@

Re: Deploying Django Project on heroku

2020-05-13 Thread Sunday Iyanu Ajayi
Django 3.0.5 *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Wed, May 13, 2020 at 4:17 PM Akshat Zala wrote: > Which version of django are you using? > > On Saturday, 9 May 2020 19:21:53 UTC+5:30, Sunday Iyanu Ajayi wrote: >> >> I have but I still get error >> >> [image: image.

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If using django3.0.0, please down grade the django.VERSION to django==2.2 On Wednesday, 13 May 2020 20:46:17 UTC+5:30, Akshat Zala wrote: > > Which version of django are you using? > > On Saturday, 9 May 2020 19:21:53 UTC+5:30, Sunday Iyanu Ajayi wrote: >> >> I have but I still get error >> >> [i

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
Which version of django are you using? On Saturday, 9 May 2020 19:21:53 UTC+5:30, Sunday Iyanu Ajayi wrote: > > I have but I still get error > > [image: image.png] > *AJAYI Sunday * > (+234) 806 771 5394 > *sunne...@gmail.com * > > > > On Sat, May 9, 2020 at 1:50 PM ola neat > > wrote: > >> Halo,

Re: Deploying Django Project on heroku

2020-05-09 Thread ola neat
Halo, i feel if u follow the step in this article https://www.codementor.io/@jamesezechukwu/how-to-deploy-django-app-on-heroku-dtsee04d4 u should b good On Sat, May 9, 2020, 01:15 Sunday Iyanu Ajayi wrote: > Hi Motaz, > Thank you so much. > Is today cool? > What time (in GMT+1) will be cool for

Re: Deploying Django Project on heroku

2020-05-08 Thread Sunday Iyanu Ajayi
Hi Motaz, Thank you so much. Is today cool? What time (in GMT+1) will be cool for you? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sun, May 3, 2020 at 11:05 PM Motaz Hejaze wrote: > Let us have a zoom meeting to fix it > > On Sun, 3 May 2020, 11:45 pm Sunday Iyanu Ajayi,

Re: Deploying Django Project on heroku

2020-05-03 Thread Motaz Hejaze
Let us have a zoom meeting to fix it On Sun, 3 May 2020, 11:45 pm Sunday Iyanu Ajayi, wrote: > I have but it keeps telling that it is misconfigured > *AJAYI Sunday * > (+234) 806 771 5394 > *sunnexaj...@gmail.com * > > > > On Sat, Apr 25, 2020 at 3:17 PM sagar ninave > wrote: > >> Do you insta

Re: Deploying Django Project on heroku

2020-05-03 Thread Sunday Iyanu Ajayi
I have but it keeps telling that it is misconfigured *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sat, Apr 25, 2020 at 3:17 PM sagar ninave wrote: > Do you installed whitenoise package > If not then run this command > Pip insatll whitenoise > > On Sat, 25 Apr 2020 at 7:43 P

Re: Deploying Django Project on heroku

2020-04-25 Thread Jorge Gimeno
On Sat, Apr 25, 2020 at 7:13 AM Sunday Iyanu Ajayi wrote: > I have spent over 2weeks on deploying a django project to heroku but I > keep getting error messages such as : > > My WhiteNoise is not configured and I have followed all the tutorials > recommended and yet same thing. > > Please who h

Re: Deploying Django Project on heroku

2020-04-25 Thread Motaz Hejaze
why the hell would anyone try to deploy for 2 weeks please follow this tutorial . i personally used it and worked for me twise .. also read the comments section .. https://www.codementor.io/@jamesezechukwu/how-to-deploy-django-app-on-heroku-dtsee04d4 On Sat, Apr 25, 2020 at 4:17 PM sagar n

Re: Deploying Django Project on heroku

2020-04-25 Thread sagar ninave
Do you installed whitenoise package If not then run this command Pip insatll whitenoise On Sat, 25 Apr 2020 at 7:43 PM, Sunday Iyanu Ajayi wrote: > I have spent over 2weeks on deploying a django project to heroku but I > keep getting error messages such as : > > My WhiteNoise is not configured

Re: Deploying Django Project on heroku

2020-04-25 Thread sagar ninave
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Deployment Follow this documentation On Sat, Apr 25, 2020 at 7:16 AM sagar ninave wrote: > Do you installed whitenoise package > If not then run this command > Pip insatll whitenoise > > On Sat, 25 Apr 2020 at 7:43 PM, Sunday Iya

Re: Deploying Django multi servers, 1 DB server

2019-01-03 Thread Christian Ledermann
You will have to split migrations from code changes. The migrated database will have to run with both old and new code. You may have to split one migration into several to achieve this On Thu, 3 Jan 2019 at 15:28, Peter van der Does wrote: > We currently have one app server, so deployment with

Re: Deploying Django app with Channels on Linux Hosting

2018-10-03 Thread Manjunath
Hi Andrew, I checked with my host providers. They are telling that websockets are supported & I should check my code. :( On Thursday, October 4, 2018 at 3:18:23 AM UTC+5:30, Andrew Godwin wrote: > > Hi there - it sounds like your host does not support websockets. You > should check with them for

Re: Deploying Django app with Channels on Linux Hosting

2018-10-03 Thread Andrew Godwin
Hi there - it sounds like your host does not support websockets. You should check with them for more. Andrew On Wed, 3 Oct 2018 at 23:43, Manjunath wrote: > Hi all, > I have developed a simple app using django channels. > > I would like to deploy it on a linux hosting provider (Currently I have

Re: deploying django project

2017-09-02 Thread Andréas Kühne
You will have to specify your problem more if you want any more help. It's hard to help you troubleshoot without any more information :-) Regards, Andréas 2017-09-02 14:17 GMT+02:00 k2527806 : > I tried this but my problem was not resolved > > On Saturday, September 2, 2017 at 1:44:50 PM UTC+4:

Re: deploying django project

2017-09-02 Thread k2527806
I tried this but my problem was not resolved On Saturday, September 2, 2017 at 1:44:50 PM UTC+4:30, Andréas Kühne wrote: > > You could also check out the tutorial at digitalocean: > > > https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu

Re: deploying django project

2017-09-02 Thread Andréas Kühne
You could also check out the tutorial at digitalocean: https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04 Regards, Andréas 2017-09-02 10:51 GMT+02:00 Antonis Christofides < anto...@djangodeployment.com>: > Hello, > > Deploymen

Re: deploying django project

2017-09-02 Thread Antonis Christofides
Hello, Deployment is such a big thing it can't easily be summarized in small step-by-step guides. This is why people are so often frustrated over such guides and can't get them to work. It's as if a person with zero Python knowledge says "give me a step-by-step guide on how to build a blog with Dj

Re: Deploying Django Tutorials or Guides - mod_wsgi, Apache, Linux

2017-08-25 Thread Mike Gering
After a lot of trouble, I got my django apps running on an apache server in CentOS/cPanel. I documented the apache config file in the readme for the project . And the website is https://quotes.klezy.xyzhttps://quote.klezy.xyz > -- You received this me

Re: Deploying Django Tutorials or Guides - mod_wsgi, Apache, Linux

2017-08-23 Thread Antonis Christofides
Hi, Shameless plug: http://djangodeployment.com/ is the best :-) However it doesn't treat mod_wsgi. I have explained that when deploying on Unix/Linux, there is no reason to prefer it over Gunicorn (and Apache+Gunicorn is a

Re: Deploying Django Tutorials or Guides - mod_wsgi, Apache, Linux

2017-08-22 Thread gerardo.palazuelos
hi, You might want to check this link: https://www.fullstackpython.com/deployment.html I hopes this can guide you. Regards, Gerardo. On Tuesday, August 22, 2017 at 2:32:17 PM UTC-6, pieceof...@gmail.com wrote: > > I should add Python 2.7, Django 1.11 > >> >> -- You received this message becaus

Re: Deploying Django Tutorials or Guides - mod_wsgi, Apache, Linux

2017-08-22 Thread pieceofkayk2718
I should add Python 2.7, Django 1.11 > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send

Re: Deploying django with Apache2 and mod-wsgi in ubuntu14.04

2017-08-03 Thread Antonis Christofides
Hi, It's not easy to know with certainty what has happened, but from the symptoms you describe it seems to me that most probably between Saturday and Monday something may have happened (such as a change of the system's IP address) that means that Apache isn't resolving it to the appropriate "virtu

Re: Deploying django with Apache2 and mod-wsgi in ubuntu14.04

2017-08-03 Thread Thiago Luiz Parolin
I am using django and apache in a debian 8 and 9 server and everything is working fine. Firstly, don't use /var/www/html for python files. In my server, we have a ordinary user that host python files in his home dir. I will try enumerate some steps used in one of my projects: - with your ordina

Re: Deploying Django via wsgi

2016-06-28 Thread Coulson Kgathi
how did you do that? please assist On Saturday, 19 March 2016 00:22:18 UTC+2, parall...@gmail.com wrote: > > Thank you all for your replies. It turned out to be something simple. > Since Django was installed in a virtualenv I needed to include the path to > the Django libs in the wsgi paths. Don

Re: Deploying Django via wsgi

2016-03-18 Thread parallaxplace
Thank you all for your replies. It turned out to be something simple. Since Django was installed in a virtualenv I needed to include the path to the Django libs in the wsgi paths. Done and site up. Again thanks! On Tuesday, March 15, 2016 at 5:00:10 AM UTC-7, parall...@gmail.com wrote: > > Qu

Re: Deploying Django via wsgi

2016-03-15 Thread Ryan Nowakowski
On Mon, Mar 14, 2016 at 09:01:46PM -0700, parallaxpl...@gmail.com wrote: > Quite new, and trying to deploy first Django site. I keep getting 503 > errors. Here are the particulars, any hints as to what I'm doing wrong > would be much appreciated! All directories and files are group owned and > w

Re: Deploying Django via wsgi

2016-03-15 Thread Avraham Serour
unless you are strictly required to use apache I strongly suggest using nginx and uwsgi to deploy your django application On Tue, Mar 15, 2016 at 6:01 AM, wrote: > Quite new, and trying to deploy first Django site. I keep getting 503 > errors. Here are the particulars, any hints as to what I'm

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/

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

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

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 >

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

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

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

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
Am 26.04.12 09:37, schrieb luke lukes: Hi Daniel. yes I have ssh access but without root or sudo privileges. it seems there's no virtualenv installed. i've tried to install virtualenv with 'pip install virtualenv' but i got this error: /error: /usr/local/lib/python2.6/site-packages/virtualenv

Re: deploying django - including third party apps

2012-04-26 Thread luke lukes
Hi Daniel. yes I have ssh access but without root or sudo privileges. it seems there's no virtualenv installed. i've tried to install virtualenv with 'pip install virtualenv' but i got this error: *error: /usr/local/lib/python2.6/site-packages/virtualenv.py: Permission denied* any help? Il gio

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

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

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

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Xavier Ordoquy
Le 11 mars 2011 à 13:25, Kenneth Gonsalves a écrit : > On Fri, 2011-03-11 at 04:17 -0800, balu wrote: >> I tried to deploy django with the following. But I couldn't able >> succeed. Please let me know the exact steps in configuring apache >> server, configuring mod_wsgi. >> >> I had gone through

Re: Deploying django. Please specify the steps.

2011-03-11 Thread Kenneth Gonsalves
On Fri, 2011-03-11 at 04:17 -0800, balu wrote: > I tried to deploy django with the following. But I couldn't able > succeed. Please let me know the exact steps in configuring apache > server, configuring mod_wsgi. > > I had gone through the official site. But couldn't understand it > completely th

Re: Deploying Django with mod_wsgi

2010-06-24 Thread Graham Dumpleton
On Jun 25, 6:00 am, commonzenpython wrote: > it would give me the same error, but with a different directory, Which as I already mentioned on mod_wsgi list, and referred you to the documentation about, this is because Apache runs as special user and needs to be able to write to the parent direc

Re: Deploying Django with mod_wsgi

2010-06-24 Thread commonzenpython
it would give me the same error, but with a different directory, thanks a lot guys, i have solved this by putting SetEnv PYTHON_EGG_CACHE /tmp as follows SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE ash.settings SetEnv PYTHON_

  1   2   >