question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy to heroku pipenv project

See original GitHub issue
  • Question

I have created a Django project with virtual environment created with pipenv.

Now I want to deploy this to heroku and as per heroku it required a requirements.txt file.

How can I generate the requirements.txt usingin pipenv.

I tried pipenv freeze > requirements.txt

I gives

Error: No such command "freeze".

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
spookyusercommented, Oct 20, 2018

Seems like both pages on heroku don’t use pipenv now 🤔

3reactions
uranusjrcommented, Dec 23, 2017

To freeze into a requirements.txt you can use pipenv lock --requirements. Use pipenv lock --help to learn more.

But Heroku provides native support for Pipenv, so it can read directly from Pipfile.lock. You don’t need that requirements.txt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipenv to Heroku: Easy App Deployment | by Edward Krueger
A guide to using Pipenv to deploy an application from GitHub to Heroku ... Then on Heroku, go to deploy a new app...
Read more >
Deploying ml python flask app to Heroku using Pipenv - Medium
In order to successfully get your project deployed to Heroku, a procfile is needed. pipenv install gunicorn. Update the pipfile and pipfile.lock
Read more >
Python Dependencies via Pip - Heroku Dev Center
This guide outlines how to fully utilize Heroku's support for specifying dependencies for your Python application via pip .
Read more >
Use pipenv with django heroku - python - Stack Overflow
You should not include python packages within your repo and push them to Heroku. Check https://devcenter.heroku.com/articles/python-pip.
Read more >
HOW TO DEPLOY FLASK PROJECT TO HEROKU SERVER
In this session, you will learn,- How to create install heroku and pipenv - How to setup and environment with pipenv and to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found