GithubHelp home page GithubHelp logo

yu-air-metric's Introduction

----------------------------------------------------------------------
-------->PROJECT YU (AN AIR POLLUTION MONITORING SYSTEM)<-------------
----------------------------------------------------------------------

This file contains all the steps required to start the Project YU.

**********PREREQUISITES************

1. System must have the following things installed
 -> Ionic v3.0
 -> Nodejs
 -> Python 3
 -> MongoDb
 
2. Before executing server code, it must be ensured that a MongoDb instance is up and running. Which can done by following command
                                
                                "$ sudo systemctl start mongodb"
                                
**********STEPS TO START THE PROJECT***********

1. First the server needs to be initialised, which can be done by running the file "main.js" located at "YU-Major Project/Server/"
   with the following command
                                
                                "node main.js"
                                
2. After the server is up and running you need to run the device handler to monitor the gas data from atmosphere and for sending the
   same to the server. To run the handler code located at "YU-Major Project/RPI-Code/" , execute the following command from terminal
   after cd-ing into the directory.
                                
                                "python handler.py"
                                
    NOTE: Make sure you have the permission to access the port on which the device is connected else the handler will throw a permission error.
    
3. To run the mobile app code on your system you can run the ionic's development server by running the following command in the "YU-Major Project/YU/" directory.
                                
                                "ionic serve"

yu-air-metric's People

Contributors

karan-gaur avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.