- pyecharts
- django
- mysql
- Config your local mysql in
hunan_web/settings.py
- Create database
hunan_web
in you mysql andUSE hunan_web
source new_hunan_web.sql
python manage.py runserver 8000
manage.py
: Entry of the projecthunan_web/settings.py
: Personal configurationhunan_web/urls.py
: Project routingmainapp/templates/*.html
: Bind to urls and functions in view.pymainapp/views.py
: Render echarts components to htmlmainapp/utils/*.py
: Pyecharts components
- New pages (python & html templates)
- Build database with proper name
- Building class in
warehouse/models.py
- output csv into database
- read from database and create charts
- compose HTML