codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
12 stars 31 forks source link

Add instructions for environment setup for Python version conflicts #226

Open debajyotid2 opened 3 months ago

debajyotid2 commented 3 months ago

In some cases the version of Python in created codespaces is different than the one used by the rules engine. The readme for rules engine should have how-to instructions for this scenario.

jkwan2011 commented 3 months ago

There is a README addendum on the CFB-AF-greenbutton branch (commit e213719 (https://github.com/codeforboston/home-energy-analysis-tool/blob/e213719a2801eaf21d6bbe94806ab9085af5e462/rules-engine/README.md) that may help here.

debajyotid2 commented 3 months ago

Thanks for pointing out @jkwan2011 ! Agreed - using miniconda saves a lot of time.

I think we should probably also add to the readme how to create a codespace with a custom configuration, i.e. specifying the Rules engine dev container configuration if working on the rules engine and Heat stack otherwise, before creating the codespace. More here. image