Skip to content

Latest commit

 

History

History
99 lines (45 loc) · 3.54 KB

README.md

File metadata and controls

99 lines (45 loc) · 3.54 KB

Price-Tracker

A Price Tracker to track the prices of your willing to buy products at E-Commerce websites once they fall below your mentioned Desired price.

Installation

  1. First clone the repository in your system.

    git clone https://github.com/NikamRohan/Price-Tracker.git

  2. Then Change Directory to News-Aggregator.

    cd Price-Tracker

  3. Then start Virtual Environment within current Directory.

    virtualenv virtual_environment_name

    virtual_environment_name\Scripts\activate

  4. Then install the dependencies from requirements.txt.

    pip install -r requirements.txt

  5. Then Apply Migrations.

    python manage.py makemigrations

    python manage.py migrate

  6. Execute the manage.py file to runserver.

    python manage.py runserver

  7. Then Goto your favourite Browser and Type in localhost:8000.

  8. Now you should be able to navigate through the website and explore its features.

  9. Now for tracking the prices in background you need to setup app password with your gmail account that would be used to send alert message to user if prices of product fall below desired price.

    1. For setting up app password
      follow this url:https://suhailvs.github.io/blog02.html#:~:text=Click%20the%20tab%20for%20App,Generate%20application%2Dspecific%20password%20button. settings.py file could be found in Price-Tracker/django_amazon/settings.py

    2. And then instead of directly setting EMAIL_HOST_USER = '[email protected]' and EMAIL_HOST_PASSWORD = 'Application spectific password(for eg: smbumqjiurmqrywn)' you can follow this url to set up environment variables for Email and password: https://stackoverflow.com/questions/13995932/how-to-secure-application-specific-passwords-for-gmail. Give name to environment variables as mentioned in Price-Tracker/django_amazon/settings.py file.

  10. For Tracking the prices at background you need to open another Command Prompt and goto the Project Directory Price-Tracker activate your virtual environment and run the command:

    python manage.py process_tasks

Screenshots of Website

Home Page

Screenshot (201)

About Page

Screenshot (202)

Register Page

Screenshot (203)

Login Page

Screenshot (204)

User Dashboard

Screenshot (205)

Screenshot (206)

Profile Page

Screenshot (207)

Adding Product Page

Screenshot (208)

User gets Email if Price of Product Drops

Screenshot_20200910-221655

Password Reset

Screenshot (209)