Skip to content

A custom-built E-Commerce platform inspired by OLX.in for client

Notifications You must be signed in to change notification settings

hrsh-hp/rescrapify

Repository files navigation

rescrapify

Setting Up the Project on Windows

Prerequisites

  • Ensure that Python is installed on your system. If not, download and install Python from python.org.

Setting Up Virtual Environment

  1. Install virtualenv:

    pip install virtualenv
  2. Create a new virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    .\venv\Scripts\activate

Initializing Dependencies and Running the Server

  1. Install Django in the virtual environment:

    pip install Django
  2. Fork the main repository and Clone your forked repository:

    git clone https://github.com/<your username>/rescrapify.git
  3. Navigate to the project directory:

    cd rescrapify
  4. Install project dependencies:

    pip install -r requirements.txt

There's a need for initializing SECRET_KEY and .env.

  1. Generate SECRET_KEY in python shell:

    from django.core.management.utils import get_random_secret_key
    print('SECRET_KEY=',get_random_secret_key())
  2. Add SECRET_KEY in .env :

    SECRET_KEY= <YOUR GENERATED SECRET_KEY>
    EMAIL_HOST_USER = "<Your email Id>"
    EMAIL_HOST_PASSWORD = "<You email app password>" 
    
    RAZOR_PAY_KEY_ID = "<Your razorpay key id>"
    RAZOR_PAY_KEY_SECRET = "<Your razorpay key secret>"
    
    LINK = http://127.0.0.1:8000
  3. Make changes in the database using makemigrations:

    python manage.py makemigrations
  4. Update the actual database:

    python manage.py migrate
  5. Create a Superuser to access the admin panel

    python manage.py createsuperuser
  6. Try running the server:

    python manage.py runserver

About

A custom-built E-Commerce platform inspired by OLX.in for client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published