Tpsmr Formwork Save Abandoned

Boilerplate template formwork for a Python Flask application with Mysql,Build dynamic websites rapidly.

Project README

Overview

English | 简体中文


How to Build dynamic web rapidly? We choose Formwork-Flask.

Formwork is a highly packaged Flask Demo.

It's intergrates various code such as Mysql(Pymysql),function for web development purposes,route demo, template Demo and so on.

It's the easiest way and fastest way to create Flask dynamic website with Mysql.

Install

  • Run pip install -r requirements.txt to install required module or Run install.cmd / install.sh to install required module ( chmod +x install.sh && ./install.sh ) .

Run

  • Run chmod +x script.sh && ./script.sh on Linux. Run script.cmd on Windows.

How to Use

  • Change project/templates/ folder to add or modify static html,css,js file.( Optional )
  • Change project/routes/ folder to modify route file with .py suffix.( Optional )
  • If Mysql Database is needed,change formwork/project/database/pysql_config.py file to edit Mysql config.( Optional )
  • If Mysql Database is needed,follow Mysql Example to create new Mysql code.( Optional )
  • Follow Routes Example to create new routes code.( Optional )
  • Run chmod +x script.sh && ./script.sh on Linux. Run script.cmd on Windows.

Required Environment

  • Python 2.7+ version, better 3.6 version
  • Mysql( Optional )

Project Structure

├── .github
│   ├── workflows
│   │   ├── codeql-analysis.yml
│   ├── FUNDING.yml
├── instance
│   ├── config.py
├── project
│   ├── database
│   │   ├── __init__.py
│   │   ├── database.py
│   │   ├── pysql.py
│   │   ├── pysql_config.py
│   │   └── sql.py
│   ├── routes
│   │   ├── __init__.py 
│   │   ├── admin.py
│   │   ├── auth.py
│   │   ├── index.py
│   ├── services
│   │   ├── __init__.py 
│   │   ├── third_function.py 
│   │   ├── third_object.py
│   ├── templates
│   │   ├── PutHtmlCodeThere.md
│   ├── __init__.py
│   ├── data.py 
├── tests
│   ├── script_old.sh
│   ├── test.md
├── LICENSE
├── README_CN.md
├── README.md
├── install.cmd
├── install.sh
├── manage.py
├── script.cmd
├── script.sh
├── requirements.txt

Join us

Your help is more than welcome! Even just open an issue to ask a question may greatly help others.

Open Source Agenda is not affiliated with "Tpsmr Formwork" Project. README Source: aswallz/formwork
Stars
81
Open Issues
1
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating