This was Developed By Fermilan, Christian Jhegg a Student @ Surigao del Norte State University
You can ADD a STAR ⭐️ if you like this project 👆
-
Install Git Version Control [ https://git-scm.com/ ]
-
Install Python Latest Version [ https://www.python.org/downloads/ ]
-
Install Pip (Package Manager) [ https://pip.pypa.io/en/stable/installing/ ]
Alternative to Pip is Homebrew
1. Create a Folder where you want to save the project
2. Create a Virtual Environment and Activate
Install Virtual Environment First
$ pip install virtualenv
Create Virtual Environment
For Windows
$ python -m venv venv
For Mac
$ python3 -m venv venv
For Linux
$ virtualenv .
Activate Virtual Environment
For Windows
$ source venv/scripts/activate
For Mac
$ source venv/bin/activate
For Linux
$ source bin/activate
3. Clone this project
$ git clone https://github.com/Donjheggo/OnlineVotingSystem.git
Then, Enter the project
$ cd snsucomelec
4. Install Requirements from 'requirements.txt'
$ pip3 install -r requirements.txt
5. Run migrations and migrate
python manage.py makemigrations
python manage.py migrate
6. Now Run Server
Command for PC:
$ python manage.py runserver
Command for Mac:
$ python3 manage.py runserver
Command for Linux:
$ python3 manage.py runserver
7. Login Credentials
Create Super User (HOD) Command for PC:
$ python manage.py createsuperuser
Command for Mac:
$ python3 manage.py createsuperuser
Command for Linux:
$ python3 manage.py createsuperuser
Then Add Email and Password
- Email - christianjheggfer@gmail.com
- LinkedIn - donjheggo
- Facebook - donjheggo
Administrator is required to add clients and set metrics for billing.
Yeah, sure.
Open settings.py
and toggle OTP
to False
Then, wait till server restarts
Fill up the OTP_EMAIL and OTP_PASSWORD in settings.py then go to your gmail settings and allow less secure apps for smtp to enable tutorial - How to Setup Gmail SMTP Server
Yeah. Pull requests are welcomed.
Please, let us know. Open up an issue.