SmartFreeze is a web app based project that allow you to manage and view your meteorological data gathered from LoRa sensors hosted by Requea. Thanks to this app you will be notified when some potential freeze is expected in a near future (5 days top).
This project was made by a group of students during 2 weeks for their degree "Master 2 MIAGE" :
- Fengjiao Chen
- Aurélien Fernandes
- Léa Garcia
- Caella Maminirina
- Alexis Martinier
- Luc Ortiz
- Arielle Raveloarison
- Clarck Robinson
- Hugo Vaillant
- Bootstrap : For the front-end there is Bootstrap (style and grid).
- Font-Awesome : To incorporate some icons there is font-awesome.
- Roboto : The font for the text is Roboto (from Google).
- Cordova : For the generation of mobile's applications.
|-- dist // Folder that contains the build of the app (will be generated | same structure as "./src")
|-- node_modules // Folder that contains all the modules (will be generated)
|-- resources // Folder that contains all the resources for Cordova
|-- src // Folder that contains all the sources (development environment)
| |-- app
| |-- assets
| | |-- fonts
| | |-- images
| | |-- styles
| | |-- vendors
| | |--libs
| |--main.js
| |--index.html
| |--package.json // This file is needed by electron
|-- bs-config.json // Config for the lite-server
|-- gulpfile.js // Gulpfile which contains tasks
|-- package.json // Config for npm dependencies, etc...
|-- readme.md // Me :)
|-- tsconfig.json // Config for the compiler
|-- tslint.json // Config for tslint module (the format of ".ts" files)
Before anything, you need to download and install NodeJS with its own npm package system.
And if you want to generate cordova application, you have to download and install Android Studio with is all the sdk needed.
You will also need some modules from npm. Here is a list with their command to install them :
- Gulp :
npm install -g gulp
- Cordova :
npm install -g cordova
So now, you have to install all modules present in the file "package.json" by simply write this command line from the root folder :
npm install
You have to launch the watchers to build and "watch" your project on a console :
npm run app:watch-web
And finally, on another console, you can launch the lite-server and start coding :
npm run ltserver:start
To clean your project :
npm run app:clean-web
npm run app:clean-cordova
npm run app:clean-all
To build your project :
npm run app:build-web
npm run app:build-cordova
To launch watchers on sources :
npm run app:watch-web
To start lite-server :
npm run ltserver:start
To start Cordova to debug project :
npm run cordova:android-start
None, take it and make whatever you want. :)