Giter VIP home page Giter VIP logo

Comments (5)

manuganji avatar manuganji commented on August 23, 2024 2

I figured this out. The command in the Procfile should be

web: gunicorn --pythonpath="$PWD/mysite" mysite.wsgi

from django-twoscoops-project.

pydanny avatar pydanny commented on August 23, 2024

Can you submit a pull requests for us?

On Thu, Apr 18, 2013 at 2:27 AM, manuganji [email protected] wrote:

I figured this out. The command in the Procfile should be

web: gunicorn --pythonpath="$PWD/mysite" mysite.wsgi


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-16566432
.

'Knowledge is Power'
Daniel Greenfeld
Principal at Cartwheel Web; co-author of Two Scoops of Django
cartwheelweb.com | pydanny.com | django.2scoops.org

from django-twoscoops-project.

manuganji avatar manuganji commented on August 23, 2024

@pydanny I ran into a diff problem with middleware classes. Once I fix it, I'll send you a pull request.

from django-twoscoops-project.

pydanny avatar pydanny commented on August 23, 2024

Thanks!

On Fri, Apr 19, 2013 at 9:48 PM, manuganji [email protected] wrote:

@pydanny https://github.com/pydanny I ran into a diff problem with
middleware classes. Once I fix it, I'll send you a pull request.


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-16698742
.

'Knowledge is Power'
Daniel Greenfeld
Principal at Cartwheel Web; co-author of Two Scoops of Django
cartwheelweb.com | pydanny.com | django.2scoops.org

from django-twoscoops-project.

robrechtdr avatar robrechtdr commented on August 23, 2024

I just wanted to let you know manuganji's Procfile did not work for me.

The following worked however:
web: cd mysite; gunicorn mysite.wsgi --settings=mysite.settings.production

The --settings option is now deprecated in Gunicorn and it's advised to set the settings file via an environment variable (like SECRET_KEY).

Also, don't forget to run heroku ps:scale web=1 after that.

from django-twoscoops-project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.