Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Made for Smart India Hackathon 2020 by Team CROSS_coders for Problem Statement LN379 by Ministery Of Power India.

Notifications You must be signed in to change notification settings

CROSSS-Coders/JalPrawah-Web

Repository files navigation

JalPravah (Web App)(LN397 CROSS_Coders)

One Solution For All Dams

Develop Backend

#Copy .env file from .env example
cp .env.example .env

# Create a database (with mysql or postgresql)
# And update .env file with database credentials
# DB_CONNECTION=mysql
# DB_HOST=127.0.0.1
# DB_DATABASE=hackathon
# DB_USERNAME=root
# DB_PASSWORD=root

# Install PYPI dependencies
pipenv install

#run application
flask run

#run fetch dam  (All information of dam store in dam.csv will be updated in databse)
flask dam fetch

#run fetch locatiom (All location of dam is fetchedbe updated in databse)
flask dam location

Run Using Docker

#buid docker image
docker build --pull --rm -f "Dockerfile" -t sih:latest "."

# run container
docker run -rm -it -p 80:5000 sih:latest

Develop Frontend

#Copy .env file from .env example
cd frontend

#install dependencies
yarn install

#run application
yarn run serve

Hosted

AWS Backend Frontend

Screenshots

Logo

Logo

Logo

Logo

About

Made for Smart India Hackathon 2020 by Team CROSS_coders for Problem Statement LN379 by Ministery Of Power India.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published