У нас вы можете посмотреть бесплатно How to Deploy Flask App to Windows Server under 20 minutes или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Deployment Notes 0. Install Chrome, Set Internet Security Level, unhide file name extension 1. Install Python Download python from here: https://www.python.org/downloads/ 2. Install Apache Download Apache from here: https://www.apachelounge.com/download/ Unzip the file and follow the README instruction to install Apache 3. Install VC++ build tools and windows sdk Download build tools from here: https://visualstudio.microsoft.com/visual-... Check at least 3 options and Windows 10 SDK 4. Install Python Package: mod_wsgi, flask Using pip install to install all dependencies 5. Set up Flask app Create a folder for flask app, assuming folder name is myapp001, Make the main app.py file name as "__init__.py" Create a file "wsgi.py" with the following code: import sys sys.path.insert(0, 'C:\\path\\to\\myapp001') from myapp001 import app as application Replace the path with correct path (it should be the path of the folder containing myapp001, but not including myapp001), and myapp001 with your app folder name 6. Start apache server Change directory to the folder containing "wsgi.py" Run this command in cmd to start the server: $ mod_wsgi-express start-server wsgi.py --processes 4