Flask_appbuilder's Study: (1) installation

Source: Internet
Author: User

Flask_appbuilder learning usually for a back-end management project, most of the functions are the data to be increased and censored operations, and these operations of the code is roughly the same, the only change is the data, Flask_appbuilder is to reduce the repetition of the code is born.installationUse Pip to install Flask_appbuilder pip installs Flask_appbuilder after installation, you can use the Fabmanager command Fabmanager--help If the installation successfully displays the following

Create a project first create one that might be used to hold the project mkdir Study_apps and then go into the project folder by Fabmanager command to create the project Create-app--name study--engine SQLAlchemy The command creates a named Stu DY uses the SQLAlchemy ORM Framework Project, which is created after successful display as follows

Open the project folder, the project's structure applies the catalog ├─────template the project template folder ├─────translations the internationalized Files folder ├─────models.py The database model file ├─────views.py Project view file Babel internationalization Configuration folder config.py profile run.py startup file Create DBYou need to create the DB Fabmanager create-db Flask_appbuilder by default with the SQLite database, the path to the project's root directory before the project starts Create Admin userCreate admin use some commands Fabmanager create-admin Start ProjectAfter the steps, I can start the project. Fabmanager run Flask_appbuilder The installation is complete we can use http://127.0.0.0:8080 to access the

Flask_appbuilder's Study: (1) installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.