/DJango-Vuejs

An example to integrate Django with Vuejs

Primary LanguagePython

DJango-Vuejs - Meteorite logging application

Simple Django + Vue application that store from a csv, the meteorite sightings.

Put the csv (see example_reg.csv for more information) inside the "sightings" folder and run the application.

date time observatory_code device_code device_resolution device_matrix
2019-02-22 12:01:57 ob_35634 de_10354 5x4 1000010000110011000000
2019-02-25 03:24:21 ob_3482734 de_00234 4x6 000000000100010001100110

It will parse the csv, store all of them into the database and then move it to "registered" folder (inside).

##Setup

  1. Create the database :
python manage.py makemigrations asteroid  
python manage.py migrate  
  1. Build vue application (read the README.md for more information)
  2. Copy the static files :
python manage.py collectstatic
  1. Start the server
python manage.py runserver