![]() NOTE: “–no-site-packages” is the default and this option is deprecated but I used it to ensure 100% that I know what I’m getting into. By default, symlinks are made but these will copy files and make any symlinks relative instead of static. NOTE: The options I chose were to ensure the virtual environment was more portable. Virtualenv -always-copy -relocatable -no-site-packages _venv With a terminal open, go to your application directory and run: I personally chose “/Users/jamie/Sites/home” simply for ease of access but I’m not using the userdir functionality. ![]() So, you want to run your Python Flask web applications the native OS X Apache web server? Well that’s awesome, because so did I! This probably won’t work on 10.7.x and earlier without using Apache from brew/ports or using MAMP (which I used) I’m running OS X Yosemite 10.10.5 with the latest server application for this version of OS X.
0 Comments
Leave a Reply. |