paulfiesel / TD2-Stats

Platform that displays win rates for units and builds in the game Legion Tower Defense 2.
0 stars 0 forks source link

Set up autoenv #2

Closed hansenreid closed 2 months ago

hansenreid commented 2 months ago

It can make development much easier to automatically activate python virtual environments. autoenv is a tool that can do this for you.

Acceptance Criteria

  1. Install autoenv
  2. Verify when entering the backend directory that the virtual env is activated
paulfiesel commented 2 months ago

I am currently using Windows - considering getting a Linux-based laptop for this kind of work. My research shows autoenv is for MacOS/Linux primarily. Should we try to proceed, or use another tool like direnv as an alternative?

paulfiesel commented 2 months ago

I also found a VSCode extension that might work.

VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=danielshow.autoenv

hansenreid commented 2 months ago

Direnv is fine too

paulfiesel commented 2 months ago

Successfully setup venv and autoenv