Forums

virtualenv refresh or recreate to add a new HTML template

I forgot to upload a html template in my app, I need to know if I should to execute the mkvirtualenv script to generate a new virtualenv ( I'd prefer don't lose all configuration that made afeter virtualenv execution) or I should update the virtualenv manually in his case how do I do it regards

Virtualenvs normally only include third-party libraries that you're using -- for example, Django, Flask, or something else that your app uses that was written by someone else. Your own templates should be in a separate directory containing your own code, and so changing that (for example, adding a missing file like you want to do) won't affect the virtualenv.