Web-server with parser, connection to DBMS and machine learning.
Team: Aisha Bazylzhanova(SE-2004), Arysbay Dastan(SE-2004)
To install, you need to download webserver.py, database.py and templates from the repository and save them in the same folder. Also you need to install Firefox browser and install geckodriver.
In database.py file you need to provide your data
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://YourUsername:[email protected]/NameOfYourDatabase'
In webServer.py file you need to provide your data
driver = webdriver.Firefox(executable_path=r'C:\<your>\<path>\<to>\<the>\<geckodriver>\geckodriver.exe')
When you can run webServer.py
In /webpage route you provide name of needed coin. When you enter the name of the coin and click the button, you will be automatically redirected to /coin route.
After that you will see summary of all recorded news about entered coin.
C:\Users\abazy>C:\Users\abazy\source\repos\ProjectsPython\project4\project\webserver.py * Serving Flask app 'database' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: on * Restarting with stat * Debugger is active! * Debugger PIN: 190-195-588 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
http://127.0.0.1:5000/webpage #Name: #Sumbit
http://127.0.0.1:5000/coin #<Summary of all needed news>