A central entry point of the application.
- Minimum Python 3.6.5
The project includes all the basic configurations necessary to get you starting.
- Assuming you have minimum python 3.6.5 installed, create a python 3.6.5 virtual environment
virtualenv -p python3 panel_env
source panel_env/bin/activate- Clone this project:
git clone https://github.com/asadmanzoor93/silo.git
cd silo
git fetch- Install requirements:
pip install -r requirements.txt- Create database and run migrations:
python manage.py migrate- Create an admin user to access django admin:
python manage.py createsuperuser- Serve the app on localhost at port 8000
python manage.py runserver- User can view line graph for all the data available.
- User can upload csv for temperature data import.
- User can create temperature data record.
- User can delete existing temperature data record.
- All data is stored in SQL database.
- I have used existing library plotly for fast implementation of graph instead of recommended dangjo or graph related libraries i.e chart.js
- Instead of installing package i have used CDN for fast loading of plotly library.
- I have tried to add keep things simple i.e Class based views for all the CRUD related operations associating them with model and simple views for upload csv and index page feature.
- Added listing view for data to facilitate user in getting understanding of data set available and also added delete button to give user freedom to delete individual record.
- I have used form for creating temperature model record and added custom html implementation.
- I have used bootstrap along with some custom CSS to improve view of screens.




