sagaracharya 9837ca049b added spreadsheet and url checker js assignment | 3 yıl önce | |
---|---|---|
.. | ||
static | 3 yıl önce | |
templates | 4 yıl önce | |
AssignmentDescription.pdf | 4 yıl önce | |
README.md | 4 yıl önce | |
rupeeDollar.py | 4 yıl önce | |
test.csv | 4 yıl önce |
Make accounts at EmailJS and api.currencylayer.com for automatic Emails and fetching live USDINR rates. Variables in email templates on EmailJS are as follows
email id will have a value of {{email}} Email will have an entry of {{converted}} for data to be passed to email.
Both of these variables are visible on line no. 114 of csv_to_table.html
Insert your keys of EmailJS and api.currencylayer.com in place of following variables in files:
<YOUR_CURRENCYAPI_KEY> static/table_format_convert.js
<YOUR_EMAIL_KEY> static/csv_to_table.html
In terminal, go to the folder rupee_dollar_automail_js and make an environment variable FLASK_APP On linux or unix, it can be made with following commands.
export FLASK_APP = rupeeDollar.py
flask run
Above code will host a local server on such a link http://127.0.0.1:5000/ .Open it in your web browser and navigate the site.