I'm realizing that now, when we make changes to simoc-abm, you can't preview them in the frontend locally.
- When you run locally (is there an environment flag? where should we check?)
- Check for a sibling-directory called
simoc-abm (just like simoc-web)
- If so, add it to the front of sys.path
This should cause the existing import statements (e.g. from simoc_abm.agent_model import AgentModel) to pull from the local instance instead of pip.
I'm realizing that now, when we make changes to
simoc-abm, you can't preview them in the frontend locally.simoc-abm(just like simoc-web)This should cause the existing import statements (e.g.
from simoc_abm.agent_model import AgentModel) to pull from the local instance instead of pip.