An ML powered Electricity Outage prediction tool
Check out the YouTube video
- 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
- HTML5
- CSS3
- Bootstrap4
- JavaScript
- JQuery
- Django
- Sqlite
- Google Maps API
- Google Cloud Platform
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.
-
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: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
Akshat Khanna 💻 🖋 |
Unnati Mishra 💻 🖋 |
You can find our Code of Conduct here.
This project follows the MIT License.