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.
-
First clone the repository in your system.
git clone https://github.com/NikamRohan/Price-Tracker.git
-
Then Change Directory to News-Aggregator.
cd Price-Tracker
-
Then start Virtual Environment within current Directory.
virtualenv virtual_environment_name
virtual_environment_name\Scripts\activate
-
Then install the dependencies from requirements.txt.
pip install -r requirements.txt
-
Then Apply Migrations.
python manage.py makemigrations
python manage.py migrate
-
Execute the manage.py file to runserver.
python manage.py runserver
-
Then Goto your favourite Browser and Type in localhost:8000.
-
Now you should be able to navigate through the website and explore its features.
-
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.
-
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 -
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.
-
-
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
Home Page
About Page
Register Page
Login Page
User Dashboard
Profile Page
Adding Product Page
User gets Email if Price of Product Drops
Password Reset