How to setup environment to create a new module

I’m missing something here. How is this done? In what context? After activating the virtual environment? From what folder?