This is a Django web application project developed for Ertiqa organization, aiming to tack the inspecting and refurbishing/scraping process of electronics at Ertiqa organization.
Please note that this project is currently unfinished and not in use by Ertiqa.
Before you begin, ensure you have met the following requirements:
- Python 3.7 or higher installed on your machine.
- pip (Python package installer) is available.
- virtualenv or venv for creating virtual environments.
- Git installed for version control.
- PostgreSQL database installed. See their website for instructions.
Follow these steps to set up the project on your local machine.
First, clone the repository from GitHub to your local machine using git
:
git clone https://github.com/kbits000/ertiqa_system.git
On Windows
python -m venv .venv
.venv\Scripts\activate
Project dependecies are listed in requirements.txt
file.
Using the following command to install them
pip install -r requirements.txt
On Windows, in Command Prompy:
Create empty .env
file
type NUL > .env
Add the following to the .env file
SECRET_KEY='1234'
DEBUG=True
DB_NAME=''
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''
Update DB_NAME, DB_USER, DB_PASSWORD, DB_HOST and DB_PORT variables in .env
file with the correct values.
Generate secret key SECRET_KEY for the Django project
from django.core.management.utils import get_random_secret_key
print(get_random_secret_key())
Copy the generated secret key and paste it in the field of SECRET_KEY in .env
Run the following commands to apply migrations:
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
- Ertiqa - All logos and branding materials are the property of [NGO Name] and are used here with permission.
- kbits000 - Project development and code implementation.
All logos and branding materials included in this repository are the property of Ertiqa. They should not be reproduced or used elsewhere without explicit consent from Ertiqa.