0

I am new to django and i just deployed my first django site on heroku.

Now my problem is that i have to change one line of code in a template installed through requirements.txt in pythons site-packages. Is there a way to upload that one file from my local environment to herokus environment and how could i find the folder structure of my site to upload the edited file?

I thought about making a pypi package but this seems to be too complicated for one line of code…

Lepus
  • 567
  • 6
  • 22

1 Answers1

0

just run heroku run bash

cd /app/.heroku/python/lib/python2.7/site-packages

just one line but vi is not working on heroku so better follow this post and do ...

Community
  • 1
  • 1
Raja Simon
  • 10,126
  • 5
  • 43
  • 74