Skip to content

The website displays the sensor data stored in Firebase and can filter through the data

Notifications You must be signed in to change notification settings

thesct22/envmon-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnvMon

The website is made using ReactJs framework and displays the sensor data stored in Firebase and can filter through the data

Sample Login

Since only admins can add new users, to check out the app or website use: [email protected] 12345678

Running in dev mode

Run

npm i

Run

npm start

Making Production build

Run

npm build

Adding to github pages

Run on main branch

git checkout main

Edit first line of package.json

{
  "homepage": "https://{igithub-id}.github.io/{repo-name}",
  "name": "envmon-website",
  "version": "0.1.0",
  "private": true,
  {...}

Creating Docker Container

Run on Docker branch

git checkout Docker

Run from directory which has the Dockerfile

docker build -t {your_dockerhub_id}/{image_name}:{image_tag (ex: alpine)} .

To run the container run

docker run -it  -p {any_port}:80 {your_dockerhub_id/{image_name}:{image_tag (ex: alpine)}

About

The website displays the sensor data stored in Firebase and can filter through the data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published