- Download and install Apache24 from https://www.apachelounge.com/
- Save to C:\apache24
- Download Build Tools for Visual Studio 2019 from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
- Install mod_wsgi: pip install mod_wsgi
- Run mod-wsgi-express module-config, edit Apache24/conf/httpd.conf
- Edit Apache24/conf/extra/httpd-vhosts.conf
- Prepare your flask app, and create app.wsgi file.
- Run the apache web server, and test it with your browser
Web
Python 入門:第11課 – Flask web 補充2 (form / session / cookie) (4)
Python 入門:第11課 – Flask web 補充2 (form / session / cookie)
- Form(read form data, postback handling)
- Cookie (read & write cookies)
- Session (read & write sessions)
Python 入門:第10課 – Flask補充1 (route / blueprint / jinja2) (3)
Python 入門:第10課 – Flask補充1 (route / blueprint / jinja2) (3)
- Routes(Methods, querystring, error handler, redirect)
- Blueprint (breakdown app.py into different files)
- Structure (Use of Block)
Python 入門:第9課 – Flask + Database ORM- Flask framework & SQLAlchemy (2)
Python 入門:第9課 – Flask + Database ORM- Flask framework & SQLAlchemy
- Flask web framework
- Using SQLAlchemy (ORM)
Python 入門:第8課 – 用Flask進行Web開發 – Python web development using Flask framework (1)
Python 入門:第8課 – 用Flask進行Web開發 (1)
- Virtural environment concept
- Flask web framework
- Develop with PyCharm
- Using templates