fix: install py 3.7 using pyenv (#590)

* fix: install py 3.7 using pyenv

* fix: set pyenv global versions

* refactor: cleaup code
This commit is contained in:
Revant Nandgaonkar
2021-11-30 16:03:01 +05:30
committed by GitHub
parent 9a986575f6
commit 0af1302485
2 changed files with 47 additions and 25 deletions

View File

@@ -62,6 +62,8 @@ bench init --skip-redis-config-generation --frappe-branch version-13 frappe-benc
cd frappe-bench
```
Note: For version 12 use python 3.7 by passing option to `bench init` command, e.g. `bench init --skip-redis-config-generation --frappe-branch version-12 --python python3.7 frappe-bench`
### Setup hosts
We need to tell bench to use the right containers instead of localhost. Run the following commands inside the container: