Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtualenv stored in different places between local and pythonanywhere #1026

Closed
T4m opened this issue May 7, 2017 · 1 comment
Closed

Virtualenv stored in different places between local and pythonanywhere #1026

T4m opened this issue May 7, 2017 · 1 comment

Comments

@T4m
Copy link

T4m commented May 7, 2017

On the local computer we create a virtual environment in the git project's parent folder. This way, we don't have to git-ignore the myvenv folder, and we avoid to version it.

Then on pythonanywhere, we create a virtualenv inside the project folder. Why don't we create it in the parent folder too (like /home/username/myvenv, aside of /home/username/mysite) ?

It works in the both way. I don't know if there are reason to put it in a specific place. I think it would be less confusing to put it always in the parent folder, or always in the project folder (and gitignore it). What do you think ?

@hjwp
Copy link
Contributor

hjwp commented Feb 12, 2018

Hi there, there is now a new deploy procedure (#1190) which means the user no longer actively creates the virtualenv themselves on pythonanywhere, it's created automatically. It's still not in the same place as locally, but at least it's not inside the project folder, so gitignore isn't an issue.

Take a look and re-open (or open another issue) if you think there are still improvements that could be made?

@hjwp hjwp closed this as completed Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants