I'm using Windows.
I successfully ran the following command in command prompt:
C:\projects\quick_tutorial\env\Scripts\cc_starter>pserve development.ini --reload
The pserve
application can be found in at least 2 locations on my machine:
C:\projects\quick_tutorial\env\Scripts
C:\Python34\Scripts
Questions:
- I ran
pserve
from a folder that doesn't contain thepserve
application. How is it determined whichpserve
should start thedevelopment.ini
file? - How is it determined which Python module / environment should be used to run my "cc_starter" project? I'm confused, because I read here: Where should virtualenvs be created? that it doesn't matter where virtual environments are created; so is it the location of the
pserve
application that determines the virtual environment used to run my project? or a command line within one of the files in my "cc_starter" project?
For reference, I'm following the Quick Tutorial for Pyramid