Repository consists for 4 files:
- KyptoAlertAPI.ipynb
- MarketPriceCheckandAlert.ipynb
- EmailSender.ipynb
- DATABASE SETUP (.txt)
Pull the repository and Check out all the files in your local directory (please check out ppt for understanding of the files and architechture)
- Create Database Username= postgres and Password=postgres
- Run PGAdmin(Postgresql)
- Connect to the DB server
- Open query window
- Run all the query provided in DATABASE SETUP file
- TABLE USERDATA : it will hold user credentials and email id
- TABLE ALERT : it holds all the alerts set by each user and their status
- TABLE ALERTQ : this table simulates the queue functionality between MarketPriceCheckandAlert and EmailSender
- Start Jupyter Notebook
- Make sure your Jupyter Notebook is running on same system as postgres server
- Open Each Notebook provided in the repostitory and execute
Either generate a new email for this purpose Go to your Google Account. On the left navigation panel, choose Security. On the 'Signing in to Google' panel, choose App passwords. If you don’t see this option: 2-Step Verification is not set up for your account 2-Step Verification is set up for security keys only Your account is through work, school or other organisation You’ve turned on Advanced Protection for your account At the bottom, choose Select app and choose the app that you’re using. Choose Select device and choose the device that you're using. Choose Generate. Follow the instructions to enter the app password. The app password is the 16-character code in the yellow bar on your device. Choose Done.
- Update Sender email id and secret key in EmailSender Notebook before execution