Once in a while, I need to start a Django development server for work and have it viewable by several other machines in our network. My machine's IP address sometimes changes every now and then so I'm looking to have a little shell alias or something that spits out the "manage.py" command with my machine's current IP address. Maybe something like this:
python manage.py runserver $(COMMAND TO FIND MY MACHINE’S IP ADDRESS GOES HERE):8000
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!