- analysis:Our answers.
- assets:Images for display.
- RadiationVis:The source code.
Backend
is back-end code andfrontend
is front-end code. We use Django and Vue to separate the front and back ends.
The back-end code. We use the Django framework.
How to import csv data into mysql database?
- Create a data table based on the Excel header
- Import csv data into mysql database
load data infile 'csvfilename.csv' into table tablename fields terminated by ',' enclosed by '"' lines terminated by '\r\n';
- Automatically create Model in Django based on database tables
python manage.py inspectdb > appname/models.py
The front-end code. We use the Vue framework.
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
Dependencies
vue, axios, element-ui, d3, OpenLayers
Log folder.
SQL file for creating databases and adding data.