sagaracharya 9837ca049b added spreadsheet and url checker js assignment | 3 年之前 | |
---|---|---|
.. | ||
static | 3 年之前 | |
templates | 4 年之前 | |
AssignmentDescription.pdf | 4 年之前 | |
README.md | 4 年之前 | |
rupeeDollar.py | 4 年之前 | |
test.csv | 4 年之前 |
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.