Web project developed by Tec de Monterrey students to control the electricity consumption of your electrical devices in your home or office.
These instructions will allow you to get a working copy of the project on your local machine for development and testing purposes.
Install mariaDB
$ pip pip install mariadb
Install flask
$ pip install Flask
Install flask cors
$ pip install -U flask-cors
Install Mysql connector
$ pip install mysql-connector-python
Install React
> npm install --save react
Install Storybook
> npx -p @storybook/cli sb init
Add dependecies
> npm install @storybook/react --save-dev
> npm install react react-dom --save
> npm install babel-loader @babel/core --save-dev
> npm install react-bootstrap bootstrap
Add storybook packages
> npm i -D @storybook/addon-actions
> yarn add @storybook/addon-knobs --dev
Automation Tests
yarn add --dev @storybook/addon-storyshots react-test-renderer
To store data
yarn add react-redux redux\
Add React Router library
npm install react-router-dom --save
Install Material UI
> npm install @material-ui/icons
A series of step-by-step examples that tells you what to run to get a running development environment
Create the database within the MariaDB environment
> mysql -u username -p < IotDB.sql
Start interface
> npm start
If you have problems with the versions
> npm i -S core-js@2.5.7
- Anaconda - Python Environment
- Material-UI - Icons
- NodeJS - Node Environment
- React - JS Library
- Storybooks - Componentes UI
- Xampp - Database management
- Maria Fernanda Hernández - FerEnriquez
- Benny Ruíz - BennyRJZ
- Erick Ceredo -