Skip to content

khannakshat7/Elektra

Repository files navigation

⚡ ELEKTRA⚡

An ML powered Electricity Outage prediction tool

CHECK LIVE

Check out the YouTube video

ew1 resp

Open Source Love svg1 License: MIT PRs Welcome Maintenance

Issues Pull Requests Pull Requests

Forks Stars Watchers

Features

  • Real-time monitoring with map
  • Admin / User Dashboard
  • Analysis of different areas in a city
  • Analysis of previous data of a city
  • Announcements by Electricity Board
  • Public Feedback

Tech Stack Used

  • HTML5
  • CSS3
  • Bootstrap4
  • JavaScript
  • JQuery
  • Django
  • Sqlite
  • Google Maps API
  • Google Cloud Platform

Contribution Guideline 💻:

You may go through these guidelines and contribute accordingly:

  • Make sure you do not copy codes from external sources because that work will not be considered. Plagiarism is strictly not allowed.
  • You can only work on issues that you have been assigned to you.
  • If you want to contribute for an existing code, we prefer that you create an issue before making a PR and link your PR to that issue.
  • If you have modified/added code work, make sure that it is working fine before submitting.
  • Strictly use camel case in your functions and classes.
  • Do not update the README.md.

How to fork and run Elektra on your local machine 💻:

  • Download and install Python

  • Download and install Git.

  • Fork the Repository.

  • Clone the repository to your local machine $ git clone https://github.com/<your-github-username>/Elektra.git

  • Change directory to Elektra $ cd Elektra

  • Install virtualenv $ pip3 install virtualenv

  • Create a virtual environment $ virtualenv env -p python

  • Activate the env: $ source env/bin/activate (for linux) > env\Scripts\activate (for Windows PowerShell)

  • Install the requirements: $ pip install -r requirements.txt

  • Go to Elektra\settings.py and change the username and password of databases as per your own local mysql database. Here is a reference below to where you can find the code: Screenshot (129)

    After changing the username and password, create a database named Elektra and then continue on to following the steps given below.

  • Make migrations $ python manage.py makemigrations

  • Migrate the changes to the database $ python manage.py migrate

  • Create admin $ python manage.py createsuperuser

  • Run the server $ python manage.py runserver

  • Open any web browser and then paste the server address to see the webpage working on your local machine

  • Happy Coding 😁

Detailed Step by Step Video

Deployment ✔️Google Cloud Platform

Maintainers 👦👧


Akshat Khanna

💻 🖋

Unnati Mishra

💻 🖋

Contributors:

Credit goes to these people:✨

Code of Conduct

You can find our Code of Conduct here.

License

This project follows the MIT License.

forthebadge forthebadge forthebadge forthebadge forthebadge